PHP Класс Pop\Data\Type\Csv

Автор: Nick Sagona, III ([email protected])
Наследование: implements Pop\Data\Type\TypeInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
decode ( string $data, string $delim = ',', string $esc = '"' ) : mixed Decode the data into PHP.
encode ( mixed $data, mixed $omit = null, string $delim = ',', string $esc = '"', string $dt = null ) : string Encode the data into its native format.

Описание методов

decode() публичный статический Метод

Decode the data into PHP.
public static decode ( string $data, string $delim = ',', string $esc = '"' ) : mixed
$data string
$delim string
$esc string
Результат mixed

encode() публичный статический Метод

Encode the data into its native format.
public static encode ( mixed $data, mixed $omit = null, string $delim = ',', string $esc = '"', string $dt = null ) : string
$data mixed
$omit mixed
$delim string
$esc string
$dt string
Результат string