PHP Class XML_RPC_Values, TastyIgniter

Inheritance: extends CI_Xmlrpc
Exibir arquivo Open project: tastyigniter/tastyigniter Class Usage Examples

Public Properties

Property Type Description
$me array Value data
$mytype integer Value type

Public Methods

Method Description
__construct ( mixed $val, string $type = '' ) : void Constructor
addArray ( $vals ) : integer Add array value
addScalar ( $val, $type = 'string' ) : integer Add scalar value
addStruct ( $vals ) : integer Add struct value
iso8601_encode ( $time, $utc = FALSE ) : string Encode time in ISO-8601 form.
kindOf ( ) : string Get value type
scalarval ( ) : mixed Scalar value
serialize_class ( ) : string Serialize class
serializedata ( $typ, $val ) : string Serialize data
serializeval ( $o ) : string Serialize value

Method Details

__construct() public method

Constructor
public __construct ( mixed $val, string $type = '' ) : void
$val mixed
$type string
return void

addArray() public method

Add array value
public addArray ( $vals ) : integer
return integer

addScalar() public method

Add scalar value
public addScalar ( $val, $type = 'string' ) : integer
return integer

addStruct() public method

Add struct value
public addStruct ( $vals ) : integer
return integer

iso8601_encode() public method

Useful for sending time in XML-RPC
public iso8601_encode ( $time, $utc = FALSE ) : string
return string

kindOf() public method

Get value type
public kindOf ( ) : string
return string

scalarval() public method

Scalar value
public scalarval ( ) : mixed
return mixed

serialize_class() public method

Serialize class
public serialize_class ( ) : string
return string

serializedata() public method

Serialize data
public serializedata ( $typ, $val ) : string
return string

serializeval() public method

Serialize value
public serializeval ( $o ) : string
return string

Property Details

$me public_oe property

Value data
public array $me
return array

$mytype public_oe property

Value type
public int $mytype
return integer