Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
bool $_autoEmitResponse = 'true'Flag: whether or not to auto-emit the response
Detailsbool $_overwriteExistingMethods = 'true'
DetailsZend_Json_Server_Request $_request = ''Request object
DetailsZend_Json_Server_Response $_response = ''Response object
DetailsZend_Json_Server_Smd $_serviceMap = ''SMD object
Detailsarray $_smdMethods = ''SMD class accessors
DetailsZend_Server_Description $_table = ''
Details__call(
string $method, array $args
)
:
mixedOverload to accessors of SMD object
Details_addMethodServiceMap(
Zend_Server_Reflection_Function $method
)
:
voidAdd service method to service map
Details_fixType(
string $type
)
:
stringTranslate PHP type to JSON type
Details_getDefaultParams(
array $args, array $params
)
:
arrayGet default params from signature
Details_getParams(
Zend_Server_Reflection_Function_Abstract $method
)
:
string|arrayGet method param type
Details_getReadyResponse(
)
:
Zend_Json_Server_ResponseSet response state
Details_getReturnType(
Zend_Server_Reflection_Function_Abstract $method
)
:
string|arrayGet method return type
Details_getSmdMethods(
)
:
arrayRetrieve list of allowed SMD methods for proxying
Details_handle(
)
:
voidInternal method for handling request
DetailsaddFunction(
string|array $function, string $namespace
)
:
Zend_Json_ServerAttach a function or callback to the server
DetailsautoEmitResponse(
)
:
boolWill we auto-emit the response?
Detailsfault(
string $fault
=
null, int $code
=
404, $data
=
null
)
:
falseIndicate fault response
DetailsgetRequest(
)
:
Zend_Json_Server_RequestGet JSON-RPC request object
DetailsgetResponse(
)
:
Zend_Json_Server_ResponseGet response object
DetailsgetServiceMap(
)
:
Zend_Json_Server_SmdRetrieve SMD object
Detailshandle(
Zend_Json_Server_Request $request
=
false
)
:
null|Zend_Json_Server_ResponseHandle request
DetailsloadFunctions(
array|Zend_Server_Definition $definition
)
:
voidLoad function definitions
DetailssetAutoEmitResponse(
bool $flag
)
:
Zend_Json_ServerSet flag indicating whether or not to auto-emit response
DetailssetClass(
string $class, string $namespace, mixed $argv
=
null
)
:
Zend_Json_ServerRegister a class with the server
DetailssetPersistence(
$mode
)
:
DetailssetRequest(
Zend_Json_Server_Request $request
)
:
Zend_Json_ServerSet request object
DetailssetResponse(
Zend_Json_Server_Response $response
)
:
Zend_Json_ServerSet response object
Details