PHP 클래스 Give_API_Keys_Table, Give

Renders the API Keys table
부터: 1.1
상속: extends WP_List_Table
파일 보기 프로젝트 열기: wordimpress/give 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$per_page Number of items per page

공개 메소드들

메소드 설명
__construct ( ) Get things started
bulk_actions ( string $which = '' ) : void Display the key generation form
column_default ( array $item, string $column_name ) : string This function renders most of the columns in the list table.
column_key ( array $item ) : string Displays the public key rows
column_secret ( array $item ) : string Displays the secret key rows
column_token ( array $item ) : string Displays the token rows
column_user ( $item ) : void Renders the column for the user field
get_columns ( ) : array Retrieve the table columns
get_paged ( ) : integer Retrieve the current page number
prepare_items ( ) : void Setup the final data for the table
query ( ) : array Performs the key query
total_items ( ) : integer Retrieve count of total users with keys

보호된 메소드들

메소드 설명
display_tablenav ( string $which ) Generate the table navigation above or below the table

메소드 상세

__construct() 공개 메소드

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

bulk_actions() 공개 메소드

Display the key generation form
부터: 1.1
public bulk_actions ( string $which = '' ) : void
$which string
리턴 void

column_default() 공개 메소드

This function renders most of the columns in the list table.
부터: 1.1
public column_default ( array $item, string $column_name ) : string
$item array Contains all the data of the keys
$column_name string The name of the column
리턴 string Column Name

column_key() 공개 메소드

Displays the public key rows
부터: 1.1
public column_key ( array $item ) : string
$item array Contains all the data of the keys
리턴 string Column Name

column_secret() 공개 메소드

Displays the secret key rows
부터: 1.1
public column_secret ( array $item ) : string
$item array Contains all the data of the keys
리턴 string Column Name

column_token() 공개 메소드

Displays the token rows
부터: 1.1
public column_token ( array $item ) : string
$item array Contains all the data of the keys
리턴 string Column Name

column_user() 공개 메소드

Renders the column for the user field
부터: 1.1
public column_user ( $item ) : void
리턴 void

display_tablenav() 보호된 메소드

Generate the table navigation above or below the table
부터: 3.1.0
protected display_tablenav ( string $which )
$which string

get_columns() 공개 메소드

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

get_paged() 공개 메소드

Retrieve the current page number
부터: 1.1
public get_paged ( ) : integer
리턴 integer Current page number

prepare_items() 공개 메소드

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

query() 공개 메소드

Performs the key query
부터: 1.1
public query ( ) : array
리턴 array

total_items() 공개 메소드

Retrieve count of total users with keys
부터: 1.1
public total_items ( ) : integer
리턴 integer

프로퍼티 상세

$per_page 공개적으로 프로퍼티

Number of items per page
부터: 1.1
public $per_page