X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/7e98723437f43e3f57736eb50ad0b8d2eb6bd549..b83e9f960d1231b2232058c76aee8d90634d16de:/lib/MECON/HTML/Error.php diff --git a/lib/MECON/HTML/Error.php b/lib/MECON/HTML/Error.php index 489d88a..443cacf 100644 --- a/lib/MECON/HTML/Error.php +++ b/lib/MECON/HTML/Error.php @@ -1,26 +1,29 @@ - -// +----------------------------------------------------------------------+ -// -// $Id$ -// + +------------------------------------------------------------------------------- +$Id$ +-----------------------------------------------------------------------------*/ -// +X2C Class 163 :MECON_HTML_Error /** * Dibuja un mensaje de error en HTML. * @@ -35,9 +38,6 @@ class MECON_HTML_Error { */ var $msg = ''; - // ~X2C - - // +X2C Operation 165 /** * Constructor. * @@ -46,26 +46,25 @@ class MECON_HTML_Error { * @return void * @access public */ - function MECON_HTML_Error($msg = '') // ~X2C + function MECON_HTML_Error($msg = '') { + // TODO - hacer que se le pueda pasar un PEAR_Error y que le saque el mensaje solita. $this->msg = $msg; } - // -X2C - // +X2C Operation 166 /** * Dibuja el HTML. * * @return string * @access public */ - function toHtml() // ~X2C + function toHtml() { // FIXME - usar un estilo con class. - return '
' . $this->msg . '
'; + return '
' . $this->msg . '
'; } - // -X2C -} // -X2C Class :MECON_HTML_Error +} ?> \ No newline at end of file