* @return void
* @access public
*/
- function MECON_HTML_Page() // ~X2C
+ function MECON_HTML_Page()
{
parent::HTML_Page(
array (
exit;
}
+ /**
+ * Muestra una variable para debug.
+ */
+ function dump($var, $exit = false)
+ {
+ if (!isset($this->_dump)) {
+ require_once 'Var_Dump.php';
+ $this->_dump = new Var_Dump(array('display_mode' => 'HTML4_Table'));
+ }
+ //$this->addBodyContent('<pre>');
+ $this->addBodyContent($this->_dump->toString($var));
+ //$this->addBodyContent('</pre>');
+ if ($exit) {
+ $this->display();
+ exit;
+ }
+ }
+
}
+
?>
\ No newline at end of file