web/lib/Zend/Queue/Adapter/Array.php
changeset 807 877f952ae2bd
parent 207 621fa6caec0c
child 1230 68c69c656a2c
equal deleted inserted replaced
805:5e7a0fedabdf 807:877f952ae2bd
    13  * to license@zend.com so we can send you a copy immediately.
    13  * to license@zend.com so we can send you a copy immediately.
    14  *
    14  *
    15  * @category   Zend
    15  * @category   Zend
    16  * @package    Zend_Queue
    16  * @package    Zend_Queue
    17  * @subpackage Adapter
    17  * @subpackage Adapter
    18  * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
    18  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    20  * @version    $Id: Array.php 20096 2010-01-06 02:05:09Z bkarwin $
    20  * @version    $Id: Array.php 24593 2012-01-05 20:35:02Z matthew $
    21  */
    21  */
    22 
    22 
    23 /**
    23 /**
    24  * @see Zend_Queue_Adapter_AdapterAbstract
    24  * @see Zend_Queue_Adapter_AdapterAbstract
    25  */
    25  */
    29  * Class for using a standard PHP array as a queue
    29  * Class for using a standard PHP array as a queue
    30  *
    30  *
    31  * @category   Zend
    31  * @category   Zend
    32  * @package    Zend_Queue
    32  * @package    Zend_Queue
    33  * @subpackage Adapter
    33  * @subpackage Adapter
    34  * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
    34  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    35  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    35  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    36  */
    36  */
    37 class Zend_Queue_Adapter_Array extends Zend_Queue_Adapter_AdapterAbstract
    37 class Zend_Queue_Adapter_Array extends Zend_Queue_Adapter_AdapterAbstract
    38 {
    38 {
    39     /**
    39     /**
   342 
   342 
   343     /**
   343     /**
   344      * sets the underlying _data array
   344      * sets the underlying _data array
   345      * $queue->getAdapter()->setData($data);
   345      * $queue->getAdapter()->setData($data);
   346      *
   346      *
   347      * @param $data array
   347      * @param array $data
   348      * @return $this;
   348      * @return $this;
   349      */
   349      */
   350     public function setData($data)
   350     public function setData($data)
   351     {
   351     {
   352         $this->_data = $data;
   352         $this->_data = $data;