PHP Интерфейс IWPDKListTableModel

С версии: 1.5.2
Автор: =undo= ([email protected])
Показать файл Открыть проект

Открытые методы

Метод Описание
__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 ( )