Метод |
Описание |
|
__construct ( ) : WPDKListTableModel |
Create an instance of WPDKListTableModel class |
|
action_result ( boolean | WP_Error $result ) |
Set the action result. |
|
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_icon_statuses ( ) : array |
Return a key value pairs array with statuses icons glyph |
|
get_sortable_columns ( ) : array |
Return the sortable columns |
|
get_statuses ( ) : array |
Return a key value pairs array with statuses supported |
|
process_bulk_action ( ) |
Process actions. Override when you need to process actions before wp is loaded. |
|
select ( ) |
Return the items array. This is an array of key value pairs array |
|