Zend Framework
1.12
|
Public Member Functions | |
__construct ($style, $message) | |
Creates a new message with the given style and message. | |
setLabel ($label) | |
Set the label of the message. | |
getLabel () | |
Get the label of the message. | |
setBuffered ($buffered) | |
Enable or disable message buffering. | |
getBuffered () | |
Determine if buffering is enabled or disabled. | |
setDestroy ($destroy) | |
Destroy the message to prevent delivery. | |
getDestroy () | |
Determine if message should be destroyed. | |
setStyle ($style) | |
Set the style of the message. | |
getStyle () | |
Get the style of the message. | |
setMessage ($message) | |
Set the actual message to be sent in its final format. | |
getMessage () | |
Get the actual message to be sent in its final format. | |
setOption ($key, $value) | |
Set a single option. | |
getOption ($key) | |
Retrieve a single option. | |
getOptions () | |
Retrieve all options. | |
Protected Attributes | |
$_style = null | |
$_label = null | |
$_message = null | |
$_buffered = false | |
$_destroy = false | |
$_ruid = false | |
$_options | |
__construct | ( | $style, | |
$message | |||
) |
Creates a new message with the given style and message.
string | $style | Style of the message. |
mixed | $message | The message |
getBuffered | ( | ) |
Determine if buffering is enabled or disabled.
getDestroy | ( | ) |
Determine if message should be destroyed.
getLabel | ( | ) |
Get the label of the message.
getMessage | ( | ) |
Get the actual message to be sent in its final format.
getOption | ( | $key | ) |
Retrieve a single option.
string | $key | The name of the option |
getOptions | ( | ) |
Retrieve all options.
getStyle | ( | ) |
Get the style of the message.
setBuffered | ( | $buffered | ) |
Enable or disable message buffering.
If a message is buffered it can be updated for the duration of the request and is only flushed at the end of the request.
boolean | $buffered | TRUE to enable buffering FALSE otherwise |
setDestroy | ( | $destroy | ) |
Destroy the message to prevent delivery.
boolean | $destroy | TRUE to destroy FALSE otherwise |
setLabel | ( | $label | ) |
Set the label of the message.
string | $label | The label to be set |
setMessage | ( | $message | ) |
Set the actual message to be sent in its final format.
setOption | ( | $key, | |
$value | |||
) |
Set a single option.
string | $key | The name of the option |
mixed | $value | The value of the option |
setStyle | ( | $style | ) |
Set the style of the message.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |