PHP Class Give_Export, Give

Since: 1.0
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

Méthodes publiques

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

Method Details

can_export() public méthode

Can we export?
Since: 1.0
public can_export ( ) : boolean
Résultat boolean Whether we can export or not

csv_cols() public méthode

Set the CSV columns
Since: 1.0
public csv_cols ( ) : array
Résultat array $cols All the columns

csv_cols_out() public méthode

Output the CSV columns
Since: 1.0
public csv_cols_out ( ) : void
Résultat void

csv_rows_out() public méthode

Output the CSV rows
Since: 1.0
public csv_rows_out ( ) : void
Résultat void

export() public méthode

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

get_csv_cols() public méthode

Retrieve the CSV columns
Since: 1.0
public get_csv_cols ( ) : array
Résultat array $cols Array of the columns

get_data() public méthode

Get the data being exported
Since: 1.0
public get_data ( ) : array
Résultat array $data Data for Export

headers() public méthode

Set the export headers
Since: 1.0
public headers ( ) : void
Résultat void

Property Details

$export_type public_oe property

Our export type. Used for export-type specific filters/actions
Since: 1.0
public string $export_type
Résultat string