PHP Class Pop\Data\Type\Sql

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

Public Methods

Method Description
decode ( string $data ) : mixed Decode the data into PHP.
encode ( mixed $data, string $table = null, string $idQuote = null, integer $divide = 100 ) : string Encode the data into its native format.

Method Details

decode() public static method

Decode the data into PHP.
public static decode ( string $data ) : mixed
$data string
return mixed

encode() public static method

Encode the data into its native format.
public static encode ( mixed $data, string $table = null, string $idQuote = null, integer $divide = 100 ) : string
$data mixed
$table string
$idQuote string
$divide integer
return string