Метод |
Описание |
|
add ( string $strMessage, string $strType, string $strScope = TL_MODE ) |
Add a message |
|
addConfirmation ( string $strMessage, string $strScope = TL_MODE ) |
Add a confirmation message |
|
addError ( string $strMessage, string $strScope = TL_MODE ) |
Add an error message |
|
addInfo ( string $strMessage, string $strScope = TL_MODE ) |
Add an info message |
|
addNew ( string $strMessage, string $strScope = TL_MODE ) |
Add a new message |
|
addRaw ( string $strMessage, string $strScope = TL_MODE ) |
Add a preformatted message |
|
generate ( string $strScope = TL_MODE ) : string |
Return the messages with a wrapping container as HTML |
|
generateUnwrapped ( string $strScope = TL_MODE ) : string |
Return the messages as HTML |
|
getTypes ( ) : array |
Return all available message types |
|
hasConfirmation ( string $strScope = TL_MODE ) : boolean |
Check if there are confirmation messages |
|
hasError ( string $strScope = TL_MODE ) : boolean |
Check if there are error messages |
|
hasInfo ( string $strScope = TL_MODE ) : boolean |
Check if there are info messages |
|
hasMessages ( string $strScope = TL_MODE ) : boolean |
Check if there are any messages |
|
hasNew ( string $strScope = TL_MODE ) : boolean |
Check if there are new messages |
|
hasRaw ( string $strScope = TL_MODE ) : boolean |
Check if there are raw messages |
|
reset ( ) |
Reset the message system |
|