PHP Class Give_Tools_Recount_Single_Customer_Stats, Give

Since: 1.5
Inheritance: extends Give_Batch_Export
Afficher le fichier Open project: wordimpress/give

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode Description
export ( ) : void Perform the export
get_data ( ) : array Get the Export Data
get_percentage_complete ( ) : integer Return the calculated completion percentage
headers ( )
pre_fetch ( ) : void Zero out the data on step one
process_step ( ) : boolean Process a step
set_properties ( array $request ) Set the properties specific to the payments export

Private Methods

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

Perform the export
Since: 1.5
public export ( ) : void
Résultat void

get_data() public méthode

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

get_percentage_complete() public méthode

Return the calculated completion percentage
Since: 1.5
public get_percentage_complete ( ) : integer
Résultat integer

headers() public méthode

public headers ( )

pre_fetch() public méthode

Zero out the data on step one
Since: 1.5
public pre_fetch ( ) : void
Résultat void

process_step() public méthode

Process a step
Since: 1.5
public process_step ( ) : boolean
Résultat boolean

set_properties() public méthode

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

$is_void public_oe property

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

$per_step public_oe property

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