Detailed Description
Definition at line 33 of file Server.php.
Member Function Documentation
__call |
( |
$ |
method, |
|
|
$ |
args |
|
) |
| |
Overload to accessors of SMD object
- Parameters:
-
- Returns:
- mixed
Definition at line 312 of file Server.php.
_addMethodServiceMap |
( |
Zend_Server_Method_Definition $ |
method ) |
[protected] |
Add service method to service map
- Parameters:
-
Zend_Server_Reflection_Function | $method | |
- Returns:
- void
Definition at line 348 of file Server.php.
_fixType |
( |
$ |
type ) |
[protected] |
Translate PHP type to JSON type
- Parameters:
-
- Returns:
- string
Definition at line 369 of file Server.php.
_getDefaultParams |
( |
array $ |
args, |
|
|
array $ |
params |
|
) |
| [protected] |
Get default params from signature
- Parameters:
-
- Returns:
- array
Definition at line 381 of file Server.php.
_getParams |
( |
Zend_Server_Method_Definition $ |
method ) |
[protected] |
Get method param type
- Parameters:
-
Zend_Server_Reflection_Function_Abstract | $method | |
- Returns:
- string|array
Definition at line 400 of file Server.php.
_getReadyResponse |
( |
) |
[protected] |
_getReturnType |
( |
Zend_Server_Method_Definition $ |
method ) |
[protected] |
Get method return type
- Parameters:
-
Zend_Server_Reflection_Function_Abstract | $method | |
- Returns:
- string|array
Definition at line 462 of file Server.php.
_getSmdMethods |
( |
) |
[protected] |
Retrieve list of allowed SMD methods for proxying
- Returns:
- array
Definition at line 479 of file Server.php.
Internal method for handling request
- Returns:
- void
Definition at line 503 of file Server.php.
addFunction |
( |
$ |
function, |
|
|
$ |
namespace = '' |
|
) |
| |
Attach a function or callback to the server
- Parameters:
-
string | array | $function | Valid PHP callback |
string | $namespace | Ignored |
- Returns:
- Zend_Json_Server
Definition at line 90 of file Server.php.
Will we auto-emit the response?
- Returns:
- bool
Definition at line 299 of file Server.php.
fault |
( |
$ |
fault = null , |
|
|
$ |
code = 404 , |
|
|
$ |
data = null |
|
) |
| |
Indicate fault response
- Parameters:
-
- Returns:
- false
Definition at line 168 of file Server.php.
handle |
( |
$ |
request = false ) |
|
Handle request
- Parameters:
-
- Returns:
- null|Zend_Json_Server_Response
Definition at line 182 of file Server.php.
loadFunctions |
( |
$ |
definition ) |
|
Load function definitions
- Parameters:
-
array | Zend_Server_Definition | $definition | |
- Returns:
- void
Definition at line 213 of file Server.php.
setAutoEmitResponse |
( |
$ |
flag ) |
|
setClass |
( |
$ |
class, |
|
|
$ |
namespace = '' , |
|
|
$ |
argv = null |
|
) |
| |
Register a class with the server
- Parameters:
-
string | $class | |
string | $namespace | Ignored |
mixed | $argv | Ignored |
- Returns:
- Zend_Json_Server
Definition at line 143 of file Server.php.
Field Documentation
#@+ Version Constants string
Definition at line 39 of file Server.php.
The documentation for this class was generated from the following file:
- E:/E/GEAMP/www/openbiz/openbiz/others/Zend/Json/Server.php