]> git.llucax.com Git - mecon/meconlib.git/blobdiff - lib/MECON/HTML/Page.php
- Pase a meconlib los objetos para mostrar la informacion de legajos
[mecon/meconlib.git] / lib / MECON / HTML / Page.php
index 492012a68a4bcbafde1dce58ad51116e58de2c78..2f3f4764824ce3ddc78e5867a5f4937a5bf0fa4d 100644 (file)
@@ -94,14 +94,17 @@ class MECON_HTML_Page extends HTML_Page {
     {
         if (!isset($this->_dump)) {
             require_once 'Var_Dump.php';
-            $this->_dump = new Var_Dump(
-                array('displayMode' => VAR_DUMP_DISPLAY_MODE_HTML_TABLE));
+            $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;
         }
-        $this->addBodyContent('<pre>');
-        $this->addBodyContent($this->_dump->r_display($var));
-        $this->addBodyContent('</pre>');
-        if ($exit) exit;
     }
 
 }
+
 ?>
\ No newline at end of file