Elgg  Version 1.7
 All Classes Namespaces Files Functions Variables
Public Member Functions | List of all members
XMLRPCErrorResponse Class Reference
Inheritance diagram for XMLRPCErrorResponse:
XMLRPCResponse

Public Member Functions

 __construct ($message, $code=-32400)
 Set the error response and error code. More...
 
 __toString ()
 Output to XML. More...
 
- Public Member Functions inherited from XMLRPCResponse
 addParameter (XMLRPCParameter $param)
 Add a parameter here. More...
 
 addInt ($value)
 
 addString ($value)
 
 addDouble ($value)
 
 addBoolean ($value)
 

Additional Inherited Members

- Protected Attributes inherited from XMLRPCResponse
 $parameters = array()
 An array of parameters. More...
 

Detailed Description

Definition at line 348 of file xml-rpc.php.

Constructor & Destructor Documentation

XMLRPCErrorResponse::__construct (   $message,
  $code = -32400 
)

Set the error response and error code.

Parameters
string$messageThe message
int$codeError code (default = system error as defined by http://xmlrpc-epi.sourceforge.net/specs/rfc.fault_codes.php)

Definition at line 356 of file xml-rpc.php.

Member Function Documentation

XMLRPCErrorResponse::__toString ( )

Output to XML.

Definition at line 371 of file xml-rpc.php.


The documentation for this class was generated from the following file: