category | Zend |
---|---|
package | Zend_Queue |
subpackage | Message |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
__construct(array $options = array()
) : void
array
('queue', 'messageClass', 'data'=>array());
__sleep() : array
array
__wakeup() : void
A de-serialized Message should not be assumed to have access to a live queue connection, so set _connected = false.
count() : integer
Implements Countable::count()
integer
current() : \Zend_Queue_Message
Similar to the current() function for arrays in PHP Required by interface Iterator.
\Zend_Queue_Message
current element from the collectiongetQueue() : \Zend_Queue | null
\Zend_Queue
null
getQueueClass() : string
string
key() : integer
Similar to the key() function for arrays in PHP. Required by interface Iterator.
integer
next() : void
Similar to the next() function for arrays in PHP. Required by interface Iterator.
rewind() : void
Similar to the reset() function for arrays in PHP. Required by interface Iterator.
setQueue(\Zend_Queue_Adapter_AdapterInterface $queue) : boolean
\Zend_Queue_Adapter_AdapterInterface
\Zend_Queue_Exception |
---|
boolean
toArray() : array
Used for debugging.
array
valid() : boolean
Used to check if we've iterated to the end of the collection. Required by interface Iterator.
boolean
False if there's nothing more to iterate over$_connected : boolean
true
This is false after the Message has been deserialized.
$_data : array
array()
$_pointer : integer
0
$_queue : \Zend_Queue_Adapter_AdapterInterface
null
$_queueClass : string
null