import v2.0.0.0_RC3 | 2012-07-01

https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
2019-07-17 22:31:04 +02:00
parent 38c146901c
commit 2f397f01f7
2677 changed files with 296182 additions and 45159 deletions

View File

@ -16,7 +16,7 @@
* @package Zend_Queue
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Queue.php 16939 2009-07-22 02:22:03Z matthew $
* @version $Id: Queue.php 18951 2009-11-12 16:26:19Z alexander $
*/
/**
@ -142,9 +142,9 @@ class Zend_Queue implements Countable
}
/**
* Set queue options
*
* @param array $options
* Set queue options
*
* @param array $options
* @return Zend_Queue
*/
public function setOptions(array $options)
@ -155,9 +155,9 @@ class Zend_Queue implements Countable
/**
* Set an individual configuration option
*
* @param string $name
* @param mixed $value
*
* @param string $name
* @param mixed $value
* @return Zend_Queue
*/
public function setOption($name, $value)
@ -178,8 +178,8 @@ class Zend_Queue implements Countable
/**
* Determine if a requested option has been defined
*
* @param string $name
*
* @param string $name
* @return bool
*/
public function hasOption($name)
@ -189,8 +189,8 @@ class Zend_Queue implements Countable
/**
* Retrieve a single option
*
* @param string $name
*
* @param string $name
* @return null|mixed Returns null if option does not exist; option value otherwise
*/
public function getOption($name)
@ -215,11 +215,11 @@ class Zend_Queue implements Countable
}
$adapterName = str_replace(
' ',
' ',
'_',
ucwords(
str_replace(
'_',
'_',
' ',
strtolower($adapterNamespace . '_' . $adapter)
)
@ -236,8 +236,8 @@ class Zend_Queue implements Countable
* Pass the configuration to the adapter class constructor.
*/
$adapter = new $adapterName($this->getOptions(), $this);
}
}
if (!$adapter instanceof Zend_Queue_Adapter_AdapterInterface) {
require_once 'Zend/Queue/Exception.php';
throw new Zend_Queue_Exception("Adapter class '" . get_class($adapterName) . "' does not implement Zend_Queue_Adapter_AdapterInterface");