parent::addBodyContent($content);
}
+ /**
+ * Muestra un error y termina el programa.
+ */
+ function exitError($msg)
+ {
+ require_once 'MECON/HTML/Error.php';
+ if (is_a($msg, 'pear_error')) {
+ $msg = $msg->getMessage();
+ }
+ $this->addBodyContent(new MECON_HTML_Error($msg));
+ $this->display();
+ exit;
+ }
+
}
?>
\ No newline at end of file