Zend_Server_Abstract
category | Zend |
---|---|
package | Zend_Json |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
inherited_from | \Zend_Server_Abstract |
__call(string $method, array $args) : mixed
string
array
mixed
__construct() : void
Setup server description
addFunction(string|array $function, string $namespace = ''
) : \Zend_Json_Server
string
array
Valid PHP callback
string
Ignored
\Zend_Json_Server
autoEmitResponse() : boolean
boolean
fault(string $fault= null
, integer $code= 404
, $data= null
) : false
string
integer
false
getFunctions() : \Zend_Server_Definition
Returns an array of method definitions.
inherited_from | \Zend_Server_Interface::getFunctions() |
---|
\Zend_Server_Definition
getRequest() : \Zend_Json_Server_Request
\Zend_Json_Server_Request
getResponse() : \Zend_Json_Server_Response
\Zend_Json_Server_Response
getServiceMap() : \Zend_Json_Server_Smd
\Zend_Json_Server_Smd
handle(\Zend_Json_Server_Request $request = false
) : null | \Zend_Json_Server_Response
\Zend_Json_Server_Request
null
\Zend_Json_Server_Response
loadFunctions(array|\Zend_Server_Definition $definition) : void
array
\Zend_Server_Definition
lowerCase($value, string $key) : string
Lowercase's a string by reference
deprecated |
---|
string
string
Lower cased stringsetAutoEmitResponse(boolean $flag) : \Zend_Json_Server
boolean
\Zend_Json_Server
setClass(string $class, string $namespace= ''
, mixed $argv= null
) : \Zend_Json_Server
string
string
Ignored
mixed
Ignored
\Zend_Json_Server
setPersistence($mode)
setRequest(\Zend_Json_Server_Request $request) : \Zend_Json_Server
\Zend_Json_Server_Request
\Zend_Json_Server
setResponse(\Zend_Json_Server_Response $response) : \Zend_Json_Server
\Zend_Json_Server_Response
\Zend_Json_Server
_addMethodServiceMap(\Zend_Server_Reflection_Function $method) : void
\Zend_Server_Reflection_Function
_buildCallback(\Zend_Server_Reflection_Function_Abstract $reflection) : \Zend_Server_Method_Callback
\Zend_Server_Reflection_Function_Abstract
\Zend_Server_Method_Callback
_buildSignature(\Zend_Server_Reflection_Function_Abstract $reflection, null|string|object $class = null
) : \Zend_Server_Method_Definition
\Zend_Server_Reflection_Function_Abstract
null
string
object
\Zend_Server_Exception |
on duplicate entry |
---|
\Zend_Server_Method_Definition
_dispatch(\Zend_Server_Method_Definition $invocable, array $params) : mixed
\Zend_Server_Method_Definition
array
mixed
_fixType(string $type) : string
inherited_from | \Zend_Server_Abstract::_fixType() |
---|
string
string
_fixType(string $type) : string
string
string
_getDefaultParams(array $args, array $params) : array
array
array
array
_getParams(\Zend_Server_Reflection_Function_Abstract $method) : string | array
\Zend_Server_Reflection_Function_Abstract
string
array
_getReadyResponse() : \Zend_Json_Server_Response
\Zend_Json_Server_Response
_getReturnType(\Zend_Server_Reflection_Function_Abstract $method) : string | array
\Zend_Server_Reflection_Function_Abstract
string
array
_getSmdMethods() : array
array
_handle() : void
$_autoEmitResponse : boolean
true
$_overwriteExistingMethods : boolean
true
inherited_from | \Zend_Server_Abstract::_overwriteExistingMethods |
---|
$_overwriteExistingMethods : boolean
false
$_request : \Zend_Json_Server_Request
$_response : \Zend_Json_Server_Response
$_serviceMap : \Zend_Json_Server_Smd
$_smdMethods : array
$_table : \Zend_Server_Description
inherited_from | \Zend_Server_Abstract::_table |
---|
$_table : \Zend_Server_Definition
$magic_methods : array
array('__call', '__clone', '__construct', '__destruct', '__get', '__isset', '__set', '__set_state', '__sleep', '__tostring', '__unset', '__wakeup')
deprecated |
---|
VERSION_1 = '1.0'
VERSION_2 = '2.0'