PHP 클래스 Give_Export, Give

부터: 1.0
파일 보기 프로젝트 열기: wordimpress/give

공개 프로퍼티들

프로퍼티 타입 설명
$export_type string Our export type. Used for export-type specific filters/actions

공개 메소드들

메소드 설명
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

메소드 상세

can_export() 공개 메소드

Can we export?
부터: 1.0
public can_export ( ) : boolean
리턴 boolean Whether we can export or not

csv_cols() 공개 메소드

Set the CSV columns
부터: 1.0
public csv_cols ( ) : array
리턴 array $cols All the columns

csv_cols_out() 공개 메소드

Output the CSV columns
부터: 1.0
public csv_cols_out ( ) : void
리턴 void

csv_rows_out() 공개 메소드

Output the CSV rows
부터: 1.0
public csv_rows_out ( ) : void
리턴 void

export() 공개 메소드

Perform the export
부터: 1.0
public export ( ) : void
리턴 void

get_csv_cols() 공개 메소드

Retrieve the CSV columns
부터: 1.0
public get_csv_cols ( ) : array
리턴 array $cols Array of the columns

get_data() 공개 메소드

Get the data being exported
부터: 1.0
public get_data ( ) : array
리턴 array $data Data for Export

headers() 공개 메소드

Set the export headers
부터: 1.0
public headers ( ) : void
리턴 void

프로퍼티 상세

$export_type 공개적으로 프로퍼티

Our export type. Used for export-type specific filters/actions
부터: 1.0
public string $export_type
리턴 string