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 testing. No supported functions. Also used to disable a Zend_Queue.
__construct(
array|Zend_Config $options, null|Zend_Queue $queue
=
null
)
:
void
Constructor
count(
$queue
=
null
)
:
Return the approximate number of messages in the queue
create(
$name, $timeout
=
null
)
:
Create a new queue
delete(
$name
)
:
Delete a queue and all of it's messages
deleteMessage(
$message
)
:
Delete a message from the queue
getCapabilities(
)
:
array
Return a list of queue capabilities functions
$array['function name'] = true or false true is supported, false is not supported.
getQueues(
)
:
Get an array of all available queues
isExists(
$name
)
:
Does a queue already exist?
receive(
$maxMessages
=
null, $timeout
=
null, $queue
=
null
)
:
Get messages in the queue
send(
$message, $queue
=
null
)
:
Send a message to the queue