PHP Класс Give_Export, Give

С версии: 1.0
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$export_type string Our export type. Used for export-type specific filters/actions

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

Метод Описание
can_export ( ) : boolean Can we export?
csv_cols ( ) : array Set the CSV columns
csv_cols_out ( ) : void Output the CSV columns
csv_rows_out ( ) : void Output the CSV rows
export ( ) : void Perform the export
get_csv_cols ( ) : array Retrieve the CSV columns
get_data ( ) : array Get the data being exported
headers ( ) : void Set the export headers

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

can_export() публичный Метод

Can we export?
С версии: 1.0
public can_export ( ) : boolean
Результат boolean Whether we can export or not

csv_cols() публичный Метод

Set the CSV columns
С версии: 1.0
public csv_cols ( ) : array
Результат array $cols All the columns

csv_cols_out() публичный Метод

Output the CSV columns
С версии: 1.0
public csv_cols_out ( ) : void
Результат void

csv_rows_out() публичный Метод

Output the CSV rows
С версии: 1.0
public csv_rows_out ( ) : void
Результат void

export() публичный Метод

Perform the export
С версии: 1.0
public export ( ) : void
Результат void

get_csv_cols() публичный Метод

Retrieve the CSV columns
С версии: 1.0
public get_csv_cols ( ) : array
Результат array $cols Array of the columns

get_data() публичный Метод

Get the data being exported
С версии: 1.0
public get_data ( ) : array
Результат array $data Data for Export

headers() публичный Метод

Set the export headers
С версии: 1.0
public headers ( ) : void
Результат void

Описание свойств

$export_type публичное свойство

Our export type. Used for export-type specific filters/actions
С версии: 1.0
public string $export_type
Результат string