[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/XmlRpc/ -> Fault.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: 307 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_XmlRpc_Fault:: (11 methods):
  __construct()
  setCode()
  getCode()
  setMessage()
  getMessage()
  setEncoding()
  getEncoding()
  loadXml()
  isFault()
  saveXml()
  __toString()


Class: Zend_XmlRpc_Fault  - X-Ref

XMLRPC Faults

Container for XMLRPC faults, containing both a code and a message;
additionally, has methods for determining if an XML response is an XMLRPC
fault, as well as generating the XML for an XMLRPC fault response.

To allow method chaining, you may only use the {@link getInstance()} factory
to instantiate a Zend_XmlRpc_Server_Fault.

__construct($code = 404, $message = '')   X-Ref
Constructor

return: Zend_XmlRpc_Fault

setCode($code)   X-Ref
Set the fault code

param: int $code
return: Zend_XmlRpc_Fault

getCode()   X-Ref
Return fault code

return: int

setMessage($message)   X-Ref
Retrieve fault message

param: string
return: Zend_XmlRpc_Fault

getMessage()   X-Ref
Retrieve fault message

return: string

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

param: string $encoding
return: Zend_XmlRpc_Fault

getEncoding()   X-Ref
Retrieve current fault encoding

return: string

loadXml($fault)   X-Ref
Load an XMLRPC fault from XML

param: string $fault
return: boolean Returns true if successfully loaded fault response, false

isFault($xml)   X-Ref
Determine if an XML response is an XMLRPC fault

param: string $xml
return: boolean

saveXml()   X-Ref
Serialize fault to XML

return: string

__toString()   X-Ref
Return XML fault response

return: string



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