PHP Класс Habari\XMLRPCStruct

Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( array $fields = [] ) Constructor for XMLRPCStruct
__get ( string $name ) : mixed Property getter for the XMLRPCStruct class.
__isset ( string $name ) : boolean Magic isset for XMLRPCStruct, returns whether a property value is set.
__set ( string $name, mixed $value ) Property setter for the XMLRPCStruct class.
get_fields ( ) : array Get the list of properties that this object contains.

Описание методов

__construct() публичный Метод

Constructor for XMLRPCStruct
public __construct ( array $fields = [] )
$fields array Default field values to set into properties.

__get() публичный Метод

Returns the value of $this->fields for the specified porperty name.
public __get ( string $name ) : mixed
$name string The name of the property
Результат mixed The value stored for the requested property

__isset() публичный Метод

Magic isset for XMLRPCStruct, returns whether a property value is set.
public __isset ( string $name ) : boolean
$name string The name of the parameter
Результат boolean True if the value is set, false if not

__set() публичный Метод

This allows the following: $struct = new XMLRPCStruct(); $struct->foo = 'bar'; // This is done by __set() and assigns 'bar' into $this->fields['foo']
public __set ( string $name, mixed $value )
$name string The name of the property on this object to set
$value mixed The value to set in the property

get_fields() публичный Метод

Get the list of properties that this object contains.
public get_fields ( ) : array
Результат array List of object properties, as stored in $this->fields.