Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
A message envelope that can be passed to Zend_Wildfire_Plugin_FirePhp to be logged to Firebug instead of a variable.
boolean $_buffered = 'false'
Flag indicating if message buffering is enabled
boolean $_destroy = 'false'
Flag indicating if message should be destroyed and not delivered
string $_label = 'null'
The label of the message
mixed $_message = 'null'
The message value
array $_options = 'array'
Options for the object
string $_ruid = 'false'
Random unique ID used to identify message in comparison operations
string $_style = 'null'
The style of the message
__construct(
string $style, mixed $message
)
:
void
Creates a new message with the given style and message
getBuffered(
)
:
boolean
Determine if buffering is enabled or disabled
getDestroy(
)
:
boolean
Determine if message should be destroyed
getLabel(
)
:
string
Get the label of the message
getMessage(
)
:
mixed
Get the actual message to be sent in its final format.
getOption(
string $key
)
:
mixed
Retrieve a single option
getOptions(
)
:
array
Retrieve all options
getStyle(
)
:
string
Get the style of the message
setBuffered(
boolean $buffered
)
:
boolean
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.
setDestroy(
boolean $destroy
)
:
boolean
Destroy the message to prevent delivery
setLabel(
string $label
)
:
void
Set the label of the message
setMessage(
$message
)
:
void
Set the actual message to be sent in its final format.
setOption(
string $key, mixed $value
)
:
mixed
Set a single option
setStyle(
$style
)
:
void
Set the style of the message