[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Service/Nirvanix/ -> Response.php (summary)

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: 123 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_Service_Nirvanix_Response:: (5 methods):
  __construct()
  getSxml()
  __get()
  __call()
  _throwException()


Class: Zend_Service_Nirvanix_Response  - X-Ref

This class decorates a SimpleXMLElement parsed from a Nirvanix web service
response.  It is primarily exists to provide a convenience feature that
throws an exception when <ResponseCode> contains an error.

__construct($xml)   X-Ref
Class constructor.  Parse the XML response from a Nirvanix method
call into a decorated SimpleXMLElement element.

param: string $xml  XML response string from Nirvanix

getSxml()   X-Ref
Return the SimpleXMLElement representing this response
for direct access.

return: SimpleXMLElement

__get($offset)   X-Ref
Delegate undefined properties to the decorated SimpleXMLElement.

param: string  $offset  Undefined property name
return: mixed

__call($method, $args)   X-Ref
Delegate undefined methods to the decorated SimpleXMLElement.

param: string  $offset  Underfined method name
param: array   $args    Method arguments
return: mixed

_throwException($message, $code = null)   X-Ref
Throw an exception.  This method exists to only contain the
lazy-require() of the exception class.

param: string   $message  Error message
param: integer  $code     Error code
return: void



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1