PHP Class Pop\Data\Type\Sql

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

Méthodes publiques

Méthode 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 méthode

Decode the data into PHP.
public static decode ( string $data ) : mixed
$data string
Résultat mixed

encode() public static méthode

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
Résultat string