PHP Class Give_Tools_Reset_Stats, Give

Since: 1.5
Inheritance: extends Give_Batch_Export
显示文件 Open project: wordimpress/give

Public Properties

Property Type Description
$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

Public Methods

Method Description
export ( ) : void Perform the export
get_data ( ) : array Get the Export Data
get_percentage_complete ( ) : integer Return the calculated completion percentage
headers ( ) Headers
pre_fetch ( ) Pre Fetch
process_step ( ) : boolean Process a step
set_properties ( array $request ) Set the properties specific to the payments export

Private Methods

Method Description
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

Method Details

export() public method

Perform the export
Since: 1.5
public export ( ) : void
return void

get_data() public method

Get the Export Data
Since: 1.5
public get_data ( ) : array
return array $data The data for the CSV file

get_percentage_complete() public method

Return the calculated completion percentage
Since: 1.5

headers() public method

Headers
public headers ( )

pre_fetch() public method

Pre Fetch
public pre_fetch ( )

process_step() public method

Process a step
Since: 1.5
public process_step ( ) : boolean
return boolean

set_properties() public method

Set the properties specific to the payments export
Since: 1.5
public set_properties ( array $request )
$request array The Form Data passed into the batch processing

Property Details

$export_type public_oe property

Our export type. Used for export-type specific filters/actions
Since: 1.5
public string $export_type
return string

$is_void public_oe property

Allows for a non-form batch processing to be run.
Since: 1.5
public bool $is_void
return boolean

$per_step public_oe property

Sets the number of items to pull on each step
Since: 1.5
public int $per_step
return integer