PHP 인터페이스 IWPDKListTableModel

부터: 1.5.2
저자: =undo= ([email protected])
파일 보기 프로젝트 열기: wpxtreme/wpdk

공개 메소드들

메소드 설명
__construct ( ) : WPDKListTableModel Create an instance of WPDKListTableModel class
current_action ( $nonce = '' ) : string | boolean Get the current action selected from the bulk actions dropdown.
get_actions_with_status ( array $item, array $status ) : array Return tha array with the row actions for the current status.
get_bulk_actions_with_status ( string $status ) : array Return the array with the buk action for the combo menu for a status of view
get_columns ( ) : array Return a key value pairs array with the list of columns
get_count_statuses ( ) : array Return a key value pairs array with status key => count.
get_statuses ( ) : array Return a key value pairs array with statuses supported
process_bulk_action ( ) Process actions
select ( ) Return the items array. This is an array of key value pairs array

메소드 상세

__construct() 공개 메소드

Create an instance of WPDKListTableModel class
public __construct ( ) : WPDKListTableModel
리턴 WPDKListTableModel

current_action() 공개 메소드

Get the current action selected from the bulk actions dropdown.
public current_action ( $nonce = '' ) : string | boolean
리턴 string | boolean The action name or False if no action was selected

get_actions_with_status() 공개 메소드

Return tha array with the row actions for the current status.
public get_actions_with_status ( array $item, array $status ) : array
$item array The item
$status array Describe one or more status of single item
리턴 array

get_bulk_actions_with_status() 공개 메소드

Return the array with the buk action for the combo menu for a status of view
public get_bulk_actions_with_status ( string $status ) : array
$status string Current status. Usually this is the status in the URI, when user select 'All', 'Publish', etc...
리턴 array

get_columns() 공개 메소드

Return a key value pairs array with the list of columns
public get_columns ( ) : array
리턴 array

get_count_statuses() 공개 메소드

Return a key value pairs array with status key => count.
부터: 1.5.16
public get_count_statuses ( ) : array
리턴 array

get_statuses() 공개 메소드

Return a key value pairs array with statuses supported
public get_statuses ( ) : array
리턴 array

process_bulk_action() 공개 메소드

Process actions
부터: 1.4.21
public process_bulk_action ( )

select() 공개 메소드

Return the items array. This is an array of key value pairs array
public select ( )