PHP Class XML_RPC_Response, TastyIgniter

Mostrar archivo Open project: tastyigniter/tastyigniter Class Usage Examples

Public Properties

Property Type Description
$errno integer Error number
$errstr string Error message
$headers array Headers list
$val mixed Value
$xss_clean boolean XSS Filter flag

Public Methods

Method Description
__construct ( mixed $val, integer $code, string $fstr = '' ) : void Constructor
decode ( mixed $array = NULL ) : array Decode
faultCode ( ) : integer Fault code
faultString ( ) : string Fault string
iso8601_decode ( $time, $utc = FALSE ) : integer ISO-8601 time to server or UTC time
prepare_response ( ) : string Prepare response
value ( ) : mixed Value
xmlrpc_decoder ( $xmlrpc_val ) : array XML-RPC Object to PHP Types

Method Details

__construct() public method

Constructor
public __construct ( mixed $val, integer $code, string $fstr = '' ) : void
$val mixed
$code integer
$fstr string
return void

decode() public method

Decode
public decode ( mixed $array = NULL ) : array
$array mixed
return array

faultCode() public method

Fault code
public faultCode ( ) : integer
return integer

faultString() public method

Fault string
public faultString ( ) : string
return string

iso8601_decode() public method

ISO-8601 time to server or UTC time
public iso8601_decode ( $time, $utc = FALSE ) : integer
return integer unix timestamp

prepare_response() public method

Prepare response
public prepare_response ( ) : string
return string xml

value() public method

Value
public value ( ) : mixed
return mixed

xmlrpc_decoder() public method

XML-RPC Object to PHP Types
public xmlrpc_decoder ( $xmlrpc_val ) : array
return array

Property Details

$errno public_oe property

Error number
public int $errno
return integer

$errstr public_oe property

Error message
public string $errstr
return string

$headers public_oe property

Headers list
public array $headers
return array

$val public_oe property

Value
public mixed $val
return mixed

$xss_clean public_oe property

XSS Filter flag
public bool $xss_clean
return boolean