[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
Zend Framework LICENSE
Copyright: | Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
License: | http://framework.zend.com/license/new-bsd New BSD License |
File Size: | 118 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Zend_Server_Interface:: (7 methods):
addFunction()
setClass()
fault()
handle()
getFunctions()
loadFunctions()
setPersistence()
Interface: Zend_Server_Interface - X-Ref
Zend_Server_InterfaceaddFunction($function, $namespace = '') X-Ref |
Attach a function as a server method Namespacing is primarily for xmlrpc, but may be used with other implementations to prevent naming collisions. param: string $function param: string $namespace param: null|array Optional array of arguments to pass to callbacks at return: void |
setClass($class, $namespace = '', $argv = null) X-Ref |
Attach a class to a server The individual implementations should probably allow passing a variable number of arguments in, so that developers may define custom runtime arguments to pass to server methods. Namespacing is primarily for xmlrpc, but could be used for other implementations as well. param: mixed $class Class name or object instance to examine and attach param: string $namespace Optional namespace with which to prepend method param: null|array Optional array of arguments to pass to callbacks at return: void |
fault($fault = null, $code = 404) X-Ref |
Generate a server fault param: mixed $fault param: int $code return: mixed |
handle($request = false) X-Ref |
Handle a request Requests may be passed in, or the server may automagically determine the request based on defaults. Dispatches server request to appropriate method and returns a response param: mixed $request return: mixed |
getFunctions() X-Ref |
Return a server definition array Returns a server definition array as created using {@link * Zend_Server_Reflection}. Can be used for server introspection, documentation, or persistence. return: array |
loadFunctions($definition) X-Ref |
Load server definition Used for persistence; loads a construct as returned by {@link getFunctions()}. param: array $array return: void |
setPersistence($mode) X-Ref |
Set server persistence param: int $mode return: void |
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |