Zend Framework
1.12
|
Public Member Functions | |
__construct (array $options=array()) | |
Constructor. | |
__get ($key) | |
Retrieve message field value. | |
__set ($key, $value) | |
Set message field value. | |
__isset ($key) | |
Test existence of message field. | |
__sleep () | |
Store queue and data in serialized object. | |
__wakeup () | |
Setup to do on wakeup. | |
getQueue () | |
Returns the queue object, or null if this is disconnected message. | |
setQueue (Zend_Queue $queue) | |
Set the queue object, to re-establish a live connection to the queue for a Message that has been de-serialized. | |
getQueueClass () | |
Query the class name of the Queue object for which this Message was created. | |
toArray () | |
Returns the column/value data as an array. | |
setFromArray (array $data) | |
Sets all data in the row from an array. | |
Protected Attributes | |
$_data = array() | |
$_connected = true | |
$_queue = null | |
$_queueClass = null | |
__construct | ( | array | $options = array() | ) |
__get | ( | $key | ) |
Retrieve message field value.
string | $key | The user-specified key name. |
Zend_Queue_Exception | if the $key is not a column in the message. |
__isset | ( | $key | ) |
Test existence of message field.
string | $key | The column key. |
__set | ( | $key, | |
$value | |||
) |
Set message field value.
string | $key | The message key. |
mixed | $value | The value for the property. |
Zend_Queue_Exception |
__sleep | ( | ) |
Store queue and data in serialized object.
__wakeup | ( | ) |
Setup to do on wakeup.
A de-serialized Message should not be assumed to have access to a live queue connection, so set _connected = false.
getQueue | ( | ) |
Returns the queue object, or null if this is disconnected message.
getQueueClass | ( | ) |
Query the class name of the Queue object for which this Message was created.
setFromArray | ( | array | $data | ) |
Sets all data in the row from an array.
array | $data |
setQueue | ( | Zend_Queue | $queue | ) |
Set the queue object, to re-establish a live connection to the queue for a Message that has been de-serialized.
Zend_Queue | $queue |
toArray | ( | ) |
Returns the column/value data as an array.
|
protected |
|
protected |
|
protected |
|
protected |