Source for file Message.php
Documentation is available at Message.php
* @copyright Copyright (c) 2006-2007 Mirchev Ideas Ltd. All rights reserved.
* Handles the displaying of error/warning/info messages
* @copyright Copyright (c) 2006-2007 Mirchev Ideas Ltd. All rights reserved.
const TMPL_VAR_MSG =
'%%MSG%%';
const TMPL_VAR_MSG_TYPE_STYLE =
'%%MSG_TYPE_STYLE%%';
const PARAM_MESSAGE =
'msg';
const PARAM_MESSAGE_TYPE =
'msgType';
const MSG_TYPE_HIDDEN =
0;
const MSG_TYPE_ERROR =
1;
const MSG_TYPE_WARNING =
2;
self::MSG_TYPE_HIDDEN =>
'hidden',
self::MSG_TYPE_ERROR =>
'error',
self::MSG_TYPE_WARNING =>
'warning',
self::MSG_TYPE_INFO =>
'info',
* Get the template variable values
$messageType =
self::MSG_TYPE_HIDDEN;
$messageTypeStyle = isset
(self::$_messageTypeStyles[$messageType]) ?
self::$_messageTypeStyles[$messageType] :
self::$_messageTypeStyles[self::MSG_TYPE_ERROR];
self::TMPL_VAR_MSG_TYPE_STYLE =>
$messageTypeStyle
Documentation generated on Thu, 08 May 2008 16:57:29 +0300 by phpDocumentor 1.4.1