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.
Class for managing queue messages
boolean $_connected = 'true'Connected is true if we have a reference to a live Zend_Queue_Adapter_Abstract object.
This is false after the Message has been deserialized.
Detailsarray $_data = 'array'The data for the queue message
DetailsZend_Queue $_queue = 'null'Zend_Queue parent class or instance
Detailsstring $_queueClass = 'null'Name of the class of the Zend_Queue
Details__construct(
array $options
=
array
)
:
Constructor
Details__get(
string $key
)
:
stringRetrieve message field value
Details__isset(
string $key
)
:
booleanTest existence of message field
Details__set(
string $key, mixed $value
)
:
voidSet message field value
Details__sleep(
)
:
arrayStore queue and data in serialized object
Details__wakeup(
)
:
voidSetup to do on wakeup.
A de-serialized Message should not be assumed to have access to a live queue connection, so set _connected = false.
DetailsgetQueue(
)
:
Zend_Queue|nullReturns the queue object, or null if this is disconnected message
DetailsgetQueueClass(
)
:
stringQuery the class name of the Queue object for which this Message was created.
DetailssetFromArray(
array $data
)
:
Zend_Queue_MessageSets all data in the row from an array.
DetailssetQueue(
Zend_Queue $queue
)
:
booleanSet the queue object, to re-establish a live connection to the queue for a Message that has been de-serialized.
DetailstoArray(
)
:
arrayReturns the column/value data as an array.
Details