TYPO3
7.6
|
Public Member Functions | |
__construct ($message, $code, array $arguments=array(), $title= '') | |
getMessage () | |
getCode () | |
getArguments () | |
getTitle () | |
render () | |
__toString () | |
Protected Attributes | |
$message = 'Unknown message' | |
$code | |
$arguments = array() | |
$title = '' | |
An object representation of a generic message. Usually, you will use Error, Warning or Notice instead of this one.
http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3 or later
Definition at line 29 of file typo3/sysext/extbase/Classes/Error/Message.php.
__construct | ( | $message, | |
$code, | |||
array | $arguments = array() , |
||
$title = '' |
|||
) |
Constructs this error
string | $message | An english error message which is used if no other error message can be resolved |
int | $code | A unique error code |
array | $arguments | Array of arguments to be replaced in message |
string | $title | optional title for the message |
Definition at line 68 of file typo3/sysext/extbase/Classes/Error/Message.php.
References Message\$arguments, Message\$code, Message\$message, and Message\$title.
__toString | ( | ) |
Converts this error into a string
Definition at line 141 of file typo3/sysext/extbase/Classes/Error/Message.php.
References Message\render().
getArguments | ( | ) |
Get arguments
Definition at line 104 of file typo3/sysext/extbase/Classes/Error/Message.php.
References Message\$arguments.
getCode | ( | ) |
Returns the error code
Definition at line 93 of file typo3/sysext/extbase/Classes/Error/Message.php.
References Message\$code.
getMessage | ( | ) |
Returns the error message
Definition at line 82 of file typo3/sysext/extbase/Classes/Error/Message.php.
References Message\$message.
getTitle | ( | ) |
Get title
Definition at line 115 of file typo3/sysext/extbase/Classes/Error/Message.php.
References Message\$title.
render | ( | ) |
Return the rendered message
Definition at line 126 of file typo3/sysext/extbase/Classes/Error/Message.php.
References Message\$message.
Referenced by Message\__toString().
|
protected |
Definition at line 50 of file typo3/sysext/extbase/Classes/Error/Message.php.
Referenced by Message\__construct(), and Message\getArguments().
|
protected |
Definition at line 43 of file typo3/sysext/extbase/Classes/Error/Message.php.
Referenced by Message\__construct(), and Message\getCode().
|
protected |
Definition at line 36 of file typo3/sysext/extbase/Classes/Error/Message.php.
Referenced by Message\__construct(), Message\getMessage(), and Message\render().
|
protected |
Definition at line 57 of file typo3/sysext/extbase/Classes/Error/Message.php.
Referenced by Message\__construct(), and Message\getTitle().