Zend Framework

There is not "factory" method in the Zend_Queue class

Details

  • Type: Docs:  Problem Docs: Problem
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9.1
  • Fix Version/s: 1.9.2
  • Component/s: Zend_Queue
  • Labels:
    None
  • Language:
    English

Description

Manual entry 42.4.1.2. Db - Zend_Queue_Adapter_Db contain incorrect example of usage Zend_Queue.
http://framework.zend.com/manual/en/zend.queue.adapters.html

Method "factory" does not exists in the Zend_Queue class

Activity

Hide
Satoru Yoshida added a comment -

In line 180,
$queue = Zend_Queue::factory('Db', $options);

It may be
$queue = new Zend_Queue('Db', $options);

Show
Satoru Yoshida added a comment - In line 180, $queue = Zend_Queue::factory('Db', $options); It may be $queue = new Zend_Queue('Db', $options);
Hide
Satoru Yoshida added a comment -

Solved in SVN r17669

Show
Satoru Yoshida added a comment - Solved in SVN r17669
Hide
Dolf Schimmel (Freeaqingme) added a comment -

Changing 'zend_query' to 'zend_queue' in summary field. I assume that was a typo (if not, why don't /I/ have a zend_query?)

Show
Dolf Schimmel (Freeaqingme) added a comment - Changing 'zend_query' to 'zend_queue' in summary field. I assume that was a typo (if not, why don't /I/ have a zend_query?)

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: