| [ 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: | 172 lines (5 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Zend_Service_Nirvanix_Namespace_Base:: (5 methods):
__construct()
__call()
getHttpClient()
_makeUri()
_wrapResponse()
Class: Zend_Service_Nirvanix_Namespace_Base - X-Ref
The Nirvanix web services are split into namespaces. This is a proxy class| __construct($options = array() X-Ref |
| Class constructor. param: $options array Options and dependency injection |
| __call($methodName, $args) X-Ref |
| When a method call is made against this proxy, convert it to an HTTP request to make against the Nirvanix REST service. $imfs->DeleteFiles(array('filePath' => 'foo')); Assuming this object was proxying the IMFS namespace, the method call above would call the DeleteFiles command. The POST parameters would be filePath, merged with the $this->_defaults (containing the sessionToken). param: string $methodName Name of the command to call param: array $args Only the first is used and it must be return: Zend_Service_Nirvanix_Response |
| getHttpClient() X-Ref |
| Return the HTTP client used for this namespace. This is useful for inspecting the last request or directly interacting with the HTTP client. return: Zend_Http_Client |
| _makeUri($methodName) X-Ref |
| Make a complete URI from an RPC method name. All Nirvanix REST service URIs use the same format. param: string $methodName RPC method name return: string |
| _wrapResponse($httpResponse) X-Ref |
| All Nirvanix REST service calls return an XML payload. This method makes a Zend_Service_Nirvanix_Response from that XML payload. param: Zend_Http_Response $httpResponse Raw response from Nirvanix return: Zend_Service_Nirvanix_Response Wrapped response |
| Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |