PHP Класс Give_Tools_Recount_Income, Give

С версии: 1.5
Наследование: extends Give_Batch_Export
Показать файл Открыть проект

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

Свойство Тип Описание
$export_type string Our export type. Used for export-type specific filters/actions
$is_void boolean Allows for a non-form batch processing to be run.
$per_step integer Sets the number of items to pull on each step

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

Метод Описание
export ( ) : void Perform the export
get_data ( ) : array Get the Export Data
get_percentage_complete ( ) : integer Return the calculated completion percentage
headers ( )
process_step ( ) : boolean Process a step
set_properties ( array $request ) Set the properties specific to the payments export

Приватные методы

Метод Описание
delete_data ( string $key ) : void Delete an option
get_stored_data ( string $key ) : mixed Given a key, get the information from the Database Directly
store_data ( string $key, mixed $value ) : void Give a key, store the value

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

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

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

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

Get the Export Data
С версии: 1.5
public get_data ( ) : array
Результат array $data The data for the CSV file

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

Return the calculated completion percentage
С версии: 1.5
public get_percentage_complete ( ) : integer
Результат integer

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

public headers ( )

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

Process a step
С версии: 1.5
public process_step ( ) : boolean
Результат boolean

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

Set the properties specific to the payments export
С версии: 1.5
public set_properties ( array $request )
$request array The Form Data passed into the batch processing

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

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

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

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

Allows for a non-form batch processing to be run.
С версии: 1.5
public bool $is_void
Результат boolean

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

Sets the number of items to pull on each step
С версии: 1.5
public int $per_step
Результат integer