PHP 클래스 Give_Payment_History_Table, Give

Renders the Payment History table on the Payment History page
부터: 1.0
상속: extends WP_List_Table
파일 보기 프로젝트 열기: wordimpress/give 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$abandoned_count integer Total number of abandoned payments
$base_url string URL of this page
$cancelled_count integer Total number of cancelled payments
$complete_count integer Total number of complete payments
$failed_count integer Total number of failed payments
$pending_count integer Total number of pending payments
$per_page string Number of results to show per page
$refunded_count integer Total number of refunded payments
$revoked_count integer Total number of revoked payments
$total_count integer Total number of payments

공개 메소드들

메소드 설명
__construct ( ) Get things started.
advanced_filters ( )
column_cb ( Give_Payment $payment ) : string Get checkbox html.
column_default ( Give_Payment $payment, string $column_name ) : string This function renders most of the columns in the list table.
get_bulk_actions ( ) : array Retrieve the bulk actions
get_columns ( ) : array Retrieve the table columns
get_donor ( Give_Payment $payment ) : string Get donor html.
get_donor_email ( Give_Payment $payment ) : string Get donor email html.
get_payment_counts ( ) : void Retrieve the payment counts
get_payment_id ( Give_Payment $payment ) : string Get payment ID html.
get_payment_status ( Give_Payment $payment ) : string Get payment status html.
get_row_actions ( $payment ) : mixed | void Get Row Actions
get_sortable_columns ( ) : array Retrieve the table's sortable columns
get_views ( ) : array Retrieve the view types
payments_data ( ) : object Retrieve all the data for all the payments.
prepare_items ( ) : void Setup the final data for the table
process_bulk_action ( ) : void Process the bulk actions
search_box ( string $text, string $input_id ) : void Show the search field

보호된 메소드들

메소드 설명
get_primary_column_name ( ) : string Gets the name of the primary column.

메소드 상세

__construct() 공개 메소드

Get things started.
또한 보기: WP_List_Table::__construct()
부터: 1.0
public __construct ( )

advanced_filters() 공개 메소드

public advanced_filters ( )

column_cb() 공개 메소드

Get checkbox html.
부터: 1.0
public column_cb ( Give_Payment $payment ) : string
$payment Give_Payment Contains all the data for the checkbox column
리턴 string Displays a checkbox

column_default() 공개 메소드

This function renders most of the columns in the list table.
부터: 1.0
public column_default ( Give_Payment $payment, string $column_name ) : string
$payment Give_Payment Payment ID.
$column_name string The name of the column
리턴 string Column Name

get_bulk_actions() 공개 메소드

Retrieve the bulk actions
부터: 1.0
public get_bulk_actions ( ) : array
리턴 array $actions Array of the bulk actions

get_columns() 공개 메소드

Retrieve the table columns
부터: 1.0
public get_columns ( ) : array
리턴 array $columns Array of all the list table columns

get_donor() 공개 메소드

Get donor html.
부터: 1.0
public get_donor ( Give_Payment $payment ) : string
$payment Give_Payment Contains all the data of the payment
리턴 string Data shown in the User column

get_donor_email() 공개 메소드

Get donor email html.
부터: 1.0
public get_donor_email ( Give_Payment $payment ) : string
$payment Give_Payment Contains all the data of the payment
리턴 string Data shown in the Email column

get_payment_counts() 공개 메소드

Retrieve the payment counts
부터: 1.0
public get_payment_counts ( ) : void
리턴 void

get_payment_id() 공개 메소드

Get payment ID html.
부터: 1.0
public get_payment_id ( Give_Payment $payment ) : string
$payment Give_Payment Contains all the data for the checkbox column
리턴 string Displays a checkbox

get_payment_status() 공개 메소드

Get payment status html.
부터: 1.0
public get_payment_status ( Give_Payment $payment ) : string
$payment Give_Payment Contains all the data of the payment
리턴 string Data shown in the Email column

get_primary_column_name() 보호된 메소드

Gets the name of the primary column.
부터: 1.5
protected get_primary_column_name ( ) : string
리턴 string Name of the primary column.

get_row_actions() 공개 메소드

Get Row Actions
부터: 1.6
public get_row_actions ( $payment ) : mixed | void
리턴 mixed | void

get_sortable_columns() 공개 메소드

Retrieve the table's sortable columns
부터: 1.0
public get_sortable_columns ( ) : array
리턴 array Array of all the sortable columns

get_views() 공개 메소드

Retrieve the view types
부터: 1.0
public get_views ( ) : array
리턴 array $views All the views available

payments_data() 공개 메소드

Retrieve all the data for all the payments.
부터: 1.0
public payments_data ( ) : object
리턴 object all the data for the payments

prepare_items() 공개 메소드

Setup the final data for the table
부터: 1.0
public prepare_items ( ) : void
리턴 void

process_bulk_action() 공개 메소드

Process the bulk actions
부터: 1.0
public process_bulk_action ( ) : void
리턴 void

프로퍼티 상세

$abandoned_count 공개적으로 프로퍼티

Total number of abandoned payments
부터: 1.6
public int $abandoned_count
리턴 integer

$base_url 공개적으로 프로퍼티

URL of this page
부터: 1.0.1
public string $base_url
리턴 string

$cancelled_count 공개적으로 프로퍼티

Total number of cancelled payments
부터: 1.4
public int $cancelled_count
리턴 integer

$complete_count 공개적으로 프로퍼티

Total number of complete payments
부터: 1.0
public int $complete_count
리턴 integer

$failed_count 공개적으로 프로퍼티

Total number of failed payments
부터: 1.0
public int $failed_count
리턴 integer

$pending_count 공개적으로 프로퍼티

Total number of pending payments
부터: 1.0
public int $pending_count
리턴 integer

$per_page 공개적으로 프로퍼티

Number of results to show per page
부터: 1.0
public string $per_page
리턴 string

$refunded_count 공개적으로 프로퍼티

Total number of refunded payments
부터: 1.0
public int $refunded_count
리턴 integer

$revoked_count 공개적으로 프로퍼티

Total number of revoked payments
부터: 1.0
public int $revoked_count
리턴 integer

$total_count 공개적으로 프로퍼티

Total number of payments
부터: 1.0
public int $total_count
리턴 integer