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

@ -53,7 +53,7 @@ require_once 'Zend/Server/Method/Parameter.php';
* @package Zend_Server
* @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: Abstract.php 16210 2009-06-21 19:22:17Z thomas $
* @version $Id: Abstract.php 18951 2009-11-12 16:26:19Z alexander $
*/
abstract class Zend_Server_Abstract implements Zend_Server_Interface
{
@ -90,7 +90,7 @@ abstract class Zend_Server_Abstract implements Zend_Server_Interface
* Constructor
*
* Setup server description
*
*
* @return void
*/
public function __construct()
@ -115,7 +115,7 @@ abstract class Zend_Server_Abstract implements Zend_Server_Interface
* Lowercase a string
*
* Lowercase's a string by reference
*
*
* @deprecated
* @param string $string value
* @param string $key
@ -129,8 +129,8 @@ abstract class Zend_Server_Abstract implements Zend_Server_Interface
/**
* Build callback for method signature
*
* @param Zend_Server_Reflection_Function_Abstract $reflection
*
* @param Zend_Server_Reflection_Function_Abstract $reflection
* @return Zend_Server_Method_Callback
*/
protected function _buildCallback(Zend_Server_Reflection_Function_Abstract $reflection)
@ -149,8 +149,8 @@ abstract class Zend_Server_Abstract implements Zend_Server_Interface
/**
* Build a method signature
*
* @param Zend_Server_Reflection_Function_Abstract $reflection
*
* @param Zend_Server_Reflection_Function_Abstract $reflection
* @param null|string|object $class
* @return Zend_Server_Method_Definition
* @throws Zend_Server_Exception on duplicate entry
@ -197,9 +197,9 @@ abstract class Zend_Server_Abstract implements Zend_Server_Interface
/**
* Dispatch method
*
* @param Zend_Server_Method_Definition $invocable
* @param array $params
*
* @param Zend_Server_Method_Definition $invocable
* @param array $params
* @return mixed
*/
protected function _dispatch(Zend_Server_Method_Definition $invocable, array $params)
@ -234,8 +234,8 @@ abstract class Zend_Server_Abstract implements Zend_Server_Interface
/**
* Map PHP type to protocol type
*
* @param string $type
*
* @param string $type
* @return string
*/
abstract protected function _fixType($type);

View File

@ -16,7 +16,7 @@
* @package Zend_Server
* @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: Cache.php 16210 2009-06-21 19:22:17Z thomas $
* @version $Id: Cache.php 18951 2009-11-12 16:26:19Z alexander $
*/
/**
@ -78,10 +78,10 @@ class Zend_Server_Cache
/**
* Load server definition from a file
*
* Unserializes a stored server definition from $filename. Returns false if
* Unserializes a stored server definition from $filename. Returns false if
* it fails in any way, true on success.
*
* Useful to prevent needing to build the server definition on each
* Useful to prevent needing to build the server definition on each
* request. Sample usage:
*
* <code>

View File

@ -16,7 +16,7 @@
* @package Zend_Server
* @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: Definition.php 16971 2009-07-22 18:05:45Z mikaelkael $
* @version $Id: Definition.php 18951 2009-11-12 16:26:19Z alexander $
*/
/**
@ -42,8 +42,8 @@ class Zend_Server_Definition implements Countable, Iterator
/**
* Constructor
*
* @param null|array $methods
*
* @param null|array $methods
* @return void
*/
public function __construct($methods = null)
@ -55,8 +55,8 @@ class Zend_Server_Definition implements Countable, Iterator
/**
* Set flag indicating whether or not overwriting existing methods is allowed
*
* @param mixed $flag
*
* @param mixed $flag
* @return void
*/
public function setOverwriteExistingMethods($flag)
@ -67,9 +67,9 @@ class Zend_Server_Definition implements Countable, Iterator
/**
* Add method to definition
*
* @param array|Zend_Server_Method_Definition $method
* @param null|string $name
*
* @param array|Zend_Server_Method_Definition $method
* @param null|string $name
* @return Zend_Server_Definition
* @throws Zend_Server_Exception if duplicate or invalid method provided
*/
@ -106,7 +106,7 @@ class Zend_Server_Definition implements Countable, Iterator
/**
* Add multiple methods
*
*
* @param array $methods Array of Zend_Server_Method_Definition objects or arrays
* @return Zend_Server_Definition
*/
@ -120,7 +120,7 @@ class Zend_Server_Definition implements Countable, Iterator
/**
* Set all methods at once (overwrite)
*
*
* @param array $methods Array of Zend_Server_Method_Definition objects or arrays
* @return Zend_Server_Definition
*/
@ -133,8 +133,8 @@ class Zend_Server_Definition implements Countable, Iterator
/**
* Does the definition have the given method?
*
* @param string $method
*
* @param string $method
* @return bool
*/
public function hasMethod($method)
@ -144,8 +144,8 @@ class Zend_Server_Definition implements Countable, Iterator
/**
* Get a given method definition
*
* @param string $method
*
* @param string $method
* @return null|Zend_Server_Method_Definition
*/
public function getMethod($method)
@ -158,7 +158,7 @@ class Zend_Server_Definition implements Countable, Iterator
/**
* Get all method definitions
*
*
* @return array Array of Zend_Server_Method_Definition objects
*/
public function getMethods()
@ -168,8 +168,8 @@ class Zend_Server_Definition implements Countable, Iterator
/**
* Remove a method definition
*
* @param string $method
*
* @param string $method
* @return Zend_Server_Definition
*/
public function removeMethod($method)
@ -182,7 +182,7 @@ class Zend_Server_Definition implements Countable, Iterator
/**
* Clear all method definitions
*
*
* @return Zend_Server_Definition
*/
public function clearMethods()
@ -193,7 +193,7 @@ class Zend_Server_Definition implements Countable, Iterator
/**
* Cast definition to an array
*
*
* @return array
*/
public function toArray()
@ -207,7 +207,7 @@ class Zend_Server_Definition implements Countable, Iterator
/**
* Countable: count of methods
*
*
* @return int
*/
public function count()
@ -217,7 +217,7 @@ class Zend_Server_Definition implements Countable, Iterator
/**
* Iterator: current item
*
*
* @return mixed
*/
public function current()
@ -227,7 +227,7 @@ class Zend_Server_Definition implements Countable, Iterator
/**
* Iterator: current item key
*
*
* @return int|string
*/
public function key()
@ -237,7 +237,7 @@ class Zend_Server_Definition implements Countable, Iterator
/**
* Iterator: advance to next method
*
*
* @return void
*/
public function next()
@ -247,7 +247,7 @@ class Zend_Server_Definition implements Countable, Iterator
/**
* Iterator: return to first method
*
*
* @return void
*/
public function rewind()
@ -257,7 +257,7 @@ class Zend_Server_Definition implements Countable, Iterator
/**
* Iterator: is the current index valid?
*
*
* @return bool
*/
public function valid()

View File

@ -17,7 +17,7 @@
* @subpackage Method
* @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: Callback.php 16971 2009-07-22 18:05:45Z mikaelkael $
* @version $Id: Callback.php 18951 2009-11-12 16:26:19Z alexander $
*/
/**
@ -58,8 +58,8 @@ class Zend_Server_Method_Callback
/**
* Constructor
*
* @param null|array $options
*
* @param null|array $options
* @return void
*/
public function __construct($options = null)
@ -71,8 +71,8 @@ class Zend_Server_Method_Callback
/**
* Set object state from array of options
*
* @param array $options
*
* @param array $options
* @return Zend_Server_Method_Callback
*/
public function setOptions(array $options)
@ -88,8 +88,8 @@ class Zend_Server_Method_Callback
/**
* Set callback class
*
* @param string $class
*
* @param string $class
* @return Zend_Server_Method_Callback
*/
public function setClass($class)
@ -103,7 +103,7 @@ class Zend_Server_Method_Callback
/**
* Get callback class
*
*
* @return string|null
*/
public function getClass()
@ -113,8 +113,8 @@ class Zend_Server_Method_Callback
/**
* Set callback function
*
* @param string $function
*
* @param string $function
* @return Zend_Server_Method_Callback
*/
public function setFunction($function)
@ -126,7 +126,7 @@ class Zend_Server_Method_Callback
/**
* Get callback function
*
*
* @return null|string
*/
public function getFunction()
@ -136,8 +136,8 @@ class Zend_Server_Method_Callback
/**
* Set callback class method
*
* @param string $method
*
* @param string $method
* @return Zend_Server_Method_Callback
*/
public function setMethod($method)
@ -148,7 +148,7 @@ class Zend_Server_Method_Callback
/**
* Get callback class method
*
*
* @return null|string
*/
public function getMethod()
@ -158,8 +158,8 @@ class Zend_Server_Method_Callback
/**
* Set callback type
*
* @param string $type
*
* @param string $type
* @return Zend_Server_Method_Callback
* @throws Zend_Server_Exception
*/
@ -175,7 +175,7 @@ class Zend_Server_Method_Callback
/**
* Get callback type
*
*
* @return string
*/
public function getType()
@ -185,7 +185,7 @@ class Zend_Server_Method_Callback
/**
* Cast callback to array
*
*
* @return array
*/
public function toArray()

View File

@ -17,7 +17,7 @@
* @subpackage Method
* @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: Definition.php 16971 2009-07-22 18:05:45Z mikaelkael $
* @version $Id: Definition.php 18951 2009-11-12 16:26:19Z alexander $
*/
/**
@ -63,8 +63,8 @@ class Zend_Server_Method_Definition
/**
* Constructor
*
* @param null|array $options
*
* @param null|array $options
* @return void
*/
public function __construct($options = null)
@ -76,8 +76,8 @@ class Zend_Server_Method_Definition
/**
* Set object state from options
*
* @param array $options
*
* @param array $options
* @return Zend_Server_Method_Definition
*/
public function setOptions(array $options)
@ -93,8 +93,8 @@ class Zend_Server_Method_Definition
/**
* Set method name
*
* @param string $name
*
* @param string $name
* @return Zend_Server_Method_Definition
*/
public function setName($name)
@ -105,7 +105,7 @@ class Zend_Server_Method_Definition
/**
* Get method name
*
*
* @return string
*/
public function getName()
@ -115,8 +115,8 @@ class Zend_Server_Method_Definition
/**
* Set method callback
*
* @param array|Zend_Server_Method_Callback $callback
*
* @param array|Zend_Server_Method_Callback $callback
* @return Zend_Server_Method_Definition
*/
public function setCallback($callback)
@ -134,7 +134,7 @@ class Zend_Server_Method_Definition
/**
* Get method callback
*
*
* @return Zend_Server_Method_Callback
*/
public function getCallback()
@ -144,8 +144,8 @@ class Zend_Server_Method_Definition
/**
* Add prototype to method definition
*
* @param array|Zend_Server_Method_Prototype $prototype
*
* @param array|Zend_Server_Method_Prototype $prototype
* @return Zend_Server_Method_Definition
*/
public function addPrototype($prototype)
@ -163,7 +163,7 @@ class Zend_Server_Method_Definition
/**
* Add multiple prototypes at once
*
*
* @param array $prototypes Array of Zend_Server_Method_Prototype objects or arrays
* @return Zend_Server_Method_Definition
*/
@ -177,7 +177,7 @@ class Zend_Server_Method_Definition
/**
* Set all prototypes at once (overwrites)
*
*
* @param array $prototypes Array of Zend_Server_Method_Prototype objects or arrays
* @return Zend_Server_Method_Definition
*/
@ -190,7 +190,7 @@ class Zend_Server_Method_Definition
/**
* Get all prototypes
*
*
* @return array $prototypes Array of Zend_Server_Method_Prototype objects or arrays
*/
public function getPrototypes()
@ -200,8 +200,8 @@ class Zend_Server_Method_Definition
/**
* Set method help
*
* @param string $methodHelp
*
* @param string $methodHelp
* @return Zend_Server_Method_Definition
*/
public function setMethodHelp($methodHelp)
@ -212,7 +212,7 @@ class Zend_Server_Method_Definition
/**
* Get method help
*
*
* @return string
*/
public function getMethodHelp()
@ -222,8 +222,8 @@ class Zend_Server_Method_Definition
/**
* Set object to use with method calls
*
* @param object $object
*
* @param object $object
* @return Zend_Server_Method_Definition
*/
public function setObject($object)
@ -238,7 +238,7 @@ class Zend_Server_Method_Definition
/**
* Get object to use with method calls
*
*
* @return null|object
*/
public function getObject()
@ -270,7 +270,7 @@ class Zend_Server_Method_Definition
/**
* Serialize to array
*
*
* @return array
*/
public function toArray()

View File

@ -17,7 +17,7 @@
* @subpackage Method
* @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: Parameter.php 16971 2009-07-22 18:05:45Z mikaelkael $
* @version $Id: Parameter.php 18951 2009-11-12 16:26:19Z alexander $
*/
/**
@ -58,8 +58,8 @@ class Zend_Server_Method_Parameter
/**
* Constructor
*
* @param null|array $options
*
* @param null|array $options
* @return void
*/
public function __construct($options = null)
@ -71,8 +71,8 @@ class Zend_Server_Method_Parameter
/**
* Set object state from array of options
*
* @param array $options
*
* @param array $options
* @return Zend_Server_Method_Parameter
*/
public function setOptions(array $options)
@ -154,8 +154,8 @@ class Zend_Server_Method_Parameter
/**
* Set optional flag
*
* @param bool $flag
*
* @param bool $flag
* @return Zend_Server_Method_Parameter
*/
public function setOptional($flag)
@ -166,7 +166,7 @@ class Zend_Server_Method_Parameter
/**
* Is the parameter optional?
*
*
* @return bool
*/
public function isOptional()
@ -176,8 +176,8 @@ class Zend_Server_Method_Parameter
/**
* Set parameter type
*
* @param string $type
*
* @param string $type
* @return Zend_Server_Method_Parameter
*/
public function setType($type)
@ -188,7 +188,7 @@ class Zend_Server_Method_Parameter
/**
* Retrieve parameter type
*
*
* @return string
*/
public function getType()
@ -198,7 +198,7 @@ class Zend_Server_Method_Parameter
/**
* Cast to array
*
*
* @return array
*/
public function toArray()

View File

@ -17,7 +17,7 @@
* @subpackage Method
* @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: Prototype.php 16971 2009-07-22 18:05:45Z mikaelkael $
* @version $Id: Prototype.php 18951 2009-11-12 16:26:19Z alexander $
*/
/**
@ -47,9 +47,9 @@ class Zend_Server_Method_Prototype
protected $_parameters = array();
/**
* Constructor
*
* @param null|array $options
* Constructor
*
* @param null|array $options
* @return void
*/
public function __construct($options = null)
@ -83,8 +83,8 @@ class Zend_Server_Method_Prototype
/**
* Add a parameter
*
* @param string $parameter
*
* @param string $parameter
* @return Zend_Server_Method_Prototype
*/
public function addParameter($parameter)
@ -106,8 +106,8 @@ class Zend_Server_Method_Prototype
/**
* Add parameters
*
* @param array $parameter
*
* @param array $parameter
* @return Zend_Server_Method_Prototype
*/
public function addParameters(array $parameters)
@ -148,7 +148,7 @@ class Zend_Server_Method_Prototype
/**
* Get parameter objects
*
*
* @return array
*/
public function getParameterObjects()
@ -158,8 +158,8 @@ class Zend_Server_Method_Prototype
/**
* Retrieve a single parameter by name or index
*
* @param string|int $index
*
* @param string|int $index
* @return null|Zend_Server_Method_Parameter
*/
public function getParameter($index)
@ -178,8 +178,8 @@ class Zend_Server_Method_Prototype
/**
* Set object state from array
*
* @param array $options
*
* @param array $options
* @return Zend_Server_Method_Prototype
*/
public function setOptions(array $options)
@ -195,7 +195,7 @@ class Zend_Server_Method_Prototype
/**
* Serialize to array
*
*
* @return array
*/
public function toArray()