Class Format
Format class Help convert between various formats such as XML, JSON, CSV, etc.
License:
http://www.dbad-license.org/
Author: Phil Sturgeon, Chris Kacerguis, @softwarespot
Located at libraries/Format.php
Author: Phil Sturgeon, Chris Kacerguis, @softwarespot
Located at libraries/Format.php
public
|
|
public
object
|
|
public
array
|
|
public
mixed
|
|
public
mixed
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
mixed
|
|
protected
SimpleXMLElement
|
|
protected
array
|
|
protected
mixed
|
|
protected
mixed
|
|
protected
string
|
string |
ARRAY_FORMAT
Array output format |
#
'array'
|
string |
CSV_FORMAT
Comma Separated Value (CSV) output format |
#
'csv'
|
string |
JSON_FORMAT
Json output format |
#
'json'
|
string |
HTML_FORMAT
HTML output format |
#
'html'
|
string |
PHP_FORMAT
PHP output format |
#
'php'
|
string |
SERIALIZED_FORMAT
Serialized output format |
#
'serialized'
|
string |
XML_FORMAT
XML output format |
#
'xml'
|
string |
DEFAULT_FORMAT
Default format of this class |
protected
mixed
|
$_data
Data to parse |
#
[]
|
protected
string
|
$_from_type
Type to convert from |
#
NULL
|