X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/ae92414569165d0e2c3e0c6f141be8aac51cb3db..ea8bbc905de07f8ea880cff0a0afabfedc8b7d9f:/lib/MECON/HTML/Error.php?ds=sidebyside diff --git a/lib/MECON/HTML/Error.php b/lib/MECON/HTML/Error.php index 2d2917a..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,27 +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