Public Member Functions

XMLRPCStruct Class Reference

List of all members.

Public Member Functions

 __set ($name, $value)
 __get ($name)
 __isset ($name)
 get_fields ()
 __construct ($fields=array())

Detailed Description

XMLRPC Struct type Used to hold struct types (objects) that are returned in XMLRPC requests.

Definition at line 13 of file xmlrpcstruct.php.

Constructor & Destructor Documentation

XMLRPCStruct::__construct ( fields = array()  ) 

Constructor for XMLRPCStruct

array $fields Default field values to set into properties.

Definition at line 71 of file xmlrpcstruct.php.

Member Function Documentation

XMLRPCStruct::__get ( name  ) 

Property getter for the XMLRPCStruct class. Returns the value of $this->fields for the specified porperty name.

string $name The name of the property
mixed The value stored for the requested property

Definition at line 41 of file xmlrpcstruct.php.

XMLRPCStruct::__isset ( name  ) 

Magic isset for XMLRPCStruct, returns whether a property value is set.

string $name The name of the parameter
boolean True if the value is set, false if not

Definition at line 51 of file xmlrpcstruct.php.

XMLRPCStruct::__set ( name,

Property setter for the XMLRPCStruct class. This allows the following: $struct = new XMLRPCStruct(); $struct->foo = 'bar'; // This is done by __set() and assigns 'bar' into $this->fields['foo']

string $name The name of the property on this object to set
mixed $value The value to set in the property

Definition at line 29 of file xmlrpcstruct.php.

XMLRPCStruct::get_fields (  ) 

Get the list of properties that this object contains.

array List of object properties, as stored in $this->fields.

Definition at line 61 of file xmlrpcstruct.php.

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