| [ 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 |
| Version: | $Id$ |
| File Size: | 616 lines (20 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Zend_Rest_Server:: (18 methods):
__construct()
setEncoding()
getEncoding()
lowerCase()
returnResponse()
handle()
setClass()
_handleStruct()
_structValue()
_handleScalar()
fault()
getHeaders()
addFunction()
getFunctions()
loadFunctions()
setPersistence()
_callStaticMethod()
_callObjectMethod()
Class: Zend_Rest_Server - X-Ref
| __construct() X-Ref |
| Constructor |
| setEncoding($encoding) X-Ref |
| Set XML encoding param: string $encoding return: Zend_Rest_Server |
| getEncoding() X-Ref |
| Get XML encoding return: string |
| lowerCase(&$value, &$key) X-Ref |
| Lowercase a string Lowercase's a string by reference param: string $value param: string $key return: string Lower cased string |
| returnResponse($flag = null) X-Ref |
| Whether or not to return a response If called without arguments, returns the value of the flag. If called with an argument, sets the flag. When 'return response' is true, {@link handle()} will not send output, but will instead return the response from the dispatched function/method. param: boolean $flag return: boolean|Zend_Rest_Server Returns Zend_Rest_Server when used to set the flag; returns boolean flag value otherwise. |
| handle($request = false) X-Ref |
| Implement Zend_Server_Interface::handle() param: array $request return: string|void |
| setClass($classname, $namespace = '', $argv = array() X-Ref |
| Implement Zend_Server_Interface::setClass() param: string $classname Class name param: string $namespace Class namespace (unused) param: array $argv An array of Constructor Arguments |
| _handleStruct($struct) X-Ref |
| Handle an array or object result param: array|object $struct Result Value return: string XML Response |
| _structValue($struct, DOMDocument $dom, DOMElement $parent) X-Ref |
| Recursively iterate through a struct Recursively iterates through an associative array or object's properties to build XML response. param: mixed $struct param: DOMDocument $dom param: DOMElement $parent return: void |
| _handleScalar($value) X-Ref |
| Handle a single value param: string|int|boolean $value Result value return: string XML Response |
| fault($exception = null, $code = null) X-Ref |
| Implement Zend_Server_Interface::fault() Creates XML error response, returning DOMDocument with response. param: string|Exception $fault Message param: int $code Error Code return: DOMDocument |
| getHeaders() X-Ref |
| Retrieve any HTTP extra headers set by the server return: array |
| addFunction($function, $namespace = '') X-Ref |
| Implement Zend_Server_Interface::addFunction() param: string $function Function Name param: string $namespace Function namespace (unused) |
| getFunctions() X-Ref |
| Implement Zend_Server_Interface::getFunctions() return: array An array of Zend_Server_Reflection_Method's |
| loadFunctions($functions) X-Ref |
| Implement Zend_Server_Interface::loadFunctions() param: array $functions |
| setPersistence($mode) X-Ref |
| Implement Zend_Server_Interface::setPersistence() param: int $mode |
| _callStaticMethod($class, array $args) X-Ref |
| Call a static class method and return the result param: string $class param: array $args return: mixed |
| _callObjectMethod($class, array $args) X-Ref |
| Call an instance method of an object param: string $class param: array $args return: mixed |
| Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |