[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/XmlRpc/ -> 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
File Size: 248 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_XmlRpc_Response:: (11 methods):
  __construct()
  setEncoding()
  getEncoding()
  setReturnValue()
  getReturnValue()
  _getXmlRpcReturn()
  isFault()
  getFault()
  loadXml()
  saveXml()
  __toString()


Class: Zend_XmlRpc_Response  - X-Ref

XmlRpc Response

Container for accessing an XMLRPC return value and creating the XML response.

__construct($return = null, $type = null)   X-Ref
Constructor

Can optionally pass in the return value and type hinting; otherwise, the
return value can be set via {@link setReturnValue()}.

param: mixed $return
param: string $type
return: void

setEncoding($encoding)   X-Ref
Set encoding to use in response

param: string $encoding
return: Zend_XmlRpc_Response

getEncoding()   X-Ref
Retrieve current response encoding

return: string

setReturnValue($value, $type = null)   X-Ref
Set the return value

Sets the return value, with optional type hinting if provided.

param: mixed $value
param: string $type
return: void

getReturnValue()   X-Ref
Retrieve the return value

return: mixed

_getXmlRpcReturn()   X-Ref
Retrieve the XMLRPC value for the return value

return: Zend_XmlRpc_Value

isFault()   X-Ref
Is the response a fault response?

return: boolean

getFault()   X-Ref
Returns the fault, if any.

return: null|Zend_XmlRpc_Fault

loadXml($response)   X-Ref
Load a response from an XML response

Attempts to load a response from an XMLRPC response, autodetecting if it
is a fault response.

param: string $response
return: boolean True if a valid XMLRPC response, false if a fault

saveXml()   X-Ref
Return response as XML

return: string

__toString()   X-Ref
Return XML response

return: string



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