PHP Class Give_Batch_Customers_Export, 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

Public Methods

Method Description
csv_cols ( ) : array | boolean Set the CSV columns.
get_data ( ) : array Get the Export Data
get_percentage_complete ( ) : integer Return the calculated completion percentage
set_properties ( array $request ) Set the properties specific to the Customers export

Private Methods

Method Description
get_cols ( $columns )
set_donor_data ( $i, $data, $donor ) Set Donor Data

Method Details

csv_cols() public method

Set the CSV columns.
Since: 1.5
public csv_cols ( ) : array | boolean
return array | boolean $cols All the columns.

get_data() public method

Get the Export Data
Since: 1.0
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

set_properties() public method

Set the properties specific to the Customers 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