64 $this->_overwriteExistingMethods = (bool) $flag;
79 #require_once 'Zend/Server/Method/Definition.php'; 82 #require_once 'Zend/Server/Exception.php'; 86 if (is_numeric(
$name)) {
95 #require_once 'Zend/Server/Exception.php'; 99 if (!$this->_overwriteExistingMethods && array_key_exists(
$name, $this->_methods)) {
100 #require_once 'Zend/Server/Exception.php'; 142 return array_key_exists(
$method, $this->_methods);
154 return $this->_methods[
$method];
178 unset($this->_methods[
$method]);
190 $this->_methods = array();
215 return count($this->_methods);
225 return current($this->_methods);
235 return key($this->_methods);
245 return next($this->_methods);
255 return reset($this->_methods);
265 return (
bool) $this->
current();
addMethods(array $methods)
elseif(isset( $params[ 'redirect_parent']))
setOverwriteExistingMethods($flag)
setMethods(array $methods)
$_overwriteExistingMethods
addMethod($method, $name=null)
__construct($methods=null)
if(!isset($_GET['name'])) $name