ZF-7614: Incorrect function name in the #42.2 manual entry

Issue Type: Docs: Problem Created: 2009-08-17T11:36:10.000+0000 Last Updated: 2009-12-15T14:01:23.000+0000 Status: Resolved Fix version(s): - 1.10.0 (27/Jan/10)

Reporter: Denis Baklikov (denis.baklikov) Assignee: Satoru Yoshida (satoruyoshida) Tags: - Zend_Queue

Related issues: - ZF-8552



Manual entry #42.2 contains incorrect example of creating new queue. Method create does not exists. createQueue method should be used instead of create…

<pre class="highlight">
// Create a new queue
$queue2 = $queue->create('queue2');

Correct code

<pre class="highlight">
// Create a new queue
$queue2 = $queue->createQueue('queue2');


Posted by Satoru Yoshida (satoruyoshida) on 2009-08-18T03:51:40.000+0000

solved in SVN r17660 with fixing other 2 items too.

  1. NG $queue = Zend_Queue('Array', $options); OK $queue = new Zend_Queue('Array', $options);

  2. NG $queue->delete('queue2'); OK $queue->deleteQueue('queue2');

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.