PHP Class Pop\Data\Type\Xml

Author: Nick Sagona, III ([email protected])
Datei anzeigen Open project: nicksagona/PopPHP Class Usage Examples

Public Methods

Method Description
decode ( string $data, boolean $preserve = false ) : mixed Decode the data into PHP.
encode ( mixed $data, string $table = null, boolean $pma = false ) : string Encode the data into its native format.

Method Details

decode() public static method

Decode the data into PHP.
public static decode ( string $data, boolean $preserve = false ) : mixed
$data string
$preserve boolean
return mixed

encode() public static method

Encode the data into its native format.
public static encode ( mixed $data, string $table = null, boolean $pma = false ) : string
$data mixed
$table string
$pma boolean
return string