Public Member Functions | |
| __set ($name, $value) | |
| __get ($name) | |
| __isset ($name) | |
| get_fields () | |
| __construct ($fields=array()) | |
XMLRPC Struct type Used to hold struct types (objects) that are returned in XMLRPC requests.
Definition at line 12 of file xmlrpcstruct.php.
| XMLRPCStruct::__construct | ( | $ | fields = array() |
) |
Constructor for XMLRPCStruct
| array | $fields Default field values to set into properties. |
Definition at line 70 of file xmlrpcstruct.php.
| 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 |
Definition at line 40 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 |
Definition at line 50 of file xmlrpcstruct.php.
| XMLRPCStruct::__set | ( | $ | name, | |
| $ | value | |||
| ) |
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 28 of file xmlrpcstruct.php.
| XMLRPCStruct::get_fields | ( | ) |
Get the list of properties that this object contains.
Definition at line 60 of file xmlrpcstruct.php.
1.7.1