Zend Framework
1.12
|
Public Member Functions | |
__construct (array $options=array()) | |
Constructor. | |
__sleep () | |
Store queue and data in serialized object. | |
__wakeup () | |
Setup to do on wakeup. | |
toArray () | |
Returns all data as an array. | |
getQueue () | |
Returns the queue object, or null if this is disconnected message set. | |
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. | |
rewind () | |
Rewind the Iterator to the first element. | |
current () | |
Return the current element. | |
key () | |
Return the identifying key of the current element. | |
next () | |
Move forward to next element. | |
valid () | |
Check if there is a current element after calls to rewind() or next(). | |
count () | |
Returns the number of elements in the collection. | |
Protected Attributes | |
$_data = array() | |
$_connected = true | |
$_queue = null | |
$_queueClass = null | |
$_messageClass = 'Zend_Queue_Message' | |
$_pointer = 0 | |
__construct | ( | array | $options = array() | ) |
Constructor.
array | $options | ('queue', 'messageClass', 'data'=>array()); |
__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.
count | ( | ) |
Returns the number of elements in the collection.
Implements Countable::count()
current | ( | ) |
Return the current element.
Similar to the current() function for arrays in PHP Required by interface Iterator.
getQueue | ( | ) |
Returns the queue object, or null if this is disconnected message set.
getQueueClass | ( | ) |
Query the class name of the Queue object for which this Message was created.
key | ( | ) |
Return the identifying key of the current element.
Similar to the key() function for arrays in PHP. Required by interface Iterator.
next | ( | ) |
Move forward to next element.
Similar to the next() function for arrays in PHP. Required by interface Iterator.
rewind | ( | ) |
Rewind the Iterator to the first element.
Similar to the reset() function for arrays in PHP. Required by interface Iterator.
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_Adapter_AdapterInterface | $queue |
Zend_Queue_Exception |
toArray | ( | ) |
Returns all data as an array.
Used for debugging.
valid | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |