Method |
Description |
|
__construct ( string $id, string $title, array $args ) : WPDKListTableViewController |
The child class should call this constructor from it's own constructor. |
|
_admin_head ( ) |
|
|
action ( ) : boolean | string |
Return the current action or FALSE if no action defined. |
|
action_result ( ) : boolean | WP_Error |
Return the action result. |
|
actions ( array $args, string $status ) : mixed |
Utility for build a right actions list when the list table is showing items. |
|
actions_column ( array $item, string $content, string $item_status = '', string $description = '' ) : string |
Return the HTML markup in order to display the content of column with row actions. |
|
admin_head ( ) |
|
|
admin_print_styles ( ) |
Fires when styles are printed for a specific admin page based on $hook_suffix. |
|
after_display ( ) |
This delegate method is called after display the table, inner the form. |
|
before_display ( ) |
This delegate method is called before display the table, inner the form |
|
before_views ( ) |
This delegate method is called before display views |
|
column_cb ( array $item ) : string |
Return the HTML markup for the checkbox element used for multiple selections. |
|
column_checkbox ( array $item ) : boolean |
Return TRUE to display the checkbox, FALSE otherwise |
|
column_default ( array $item, string $column_name ) : mixed |
Display a cel content for a column. |
|
current_action ( ) : string | boolean |
Get the current action selected from the bulk actions dropdown. |
|
data ( ) : array |
Return the items data list. This method will be over-ridden in a sub-class. |
|
didHeadLoad ( ) |
|
|
display ( ) |
This method override the default WP_List_Table display. |
|
get_actions_with_status ( mixed $item, string $status ) : array |
Return tha array with the action for the current status |
|
get_bulk_actions ( ) : array |
Return an array with the list of bulk actions used in combo menu select. |
|
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 the array with status key => count. |
|
get_sortable_columns ( ) : array |
Return the sortable columns |
|
get_status ( string $status ) : integer |
Return the count of specific status |
|
get_statuses ( ) : array |
Return a key value pairs array with statuses supported |
|
get_views ( ) : array |
Return an array with the HTML markup list of statuses. This method use the $statuses property format as: |
|
html ( ) : string |
Return the HTML markup for list table view. |
|
load ( ) |
|
|
no_items ( ) |
The itens can be not found for two main reason: the query search has param tha t doesn't match with items, or the
items list (or the database query) return an empty list. |
|
prepare_items ( ) : boolean |
Processing data items to view. |
|
process_bulk_action ( ) : boolean |
Return TRUE to stop the display of list item table, FALSE otherwise. Default return FALSE if you do not override. |
|
search_box_field ( ) |
Display a search box field |
|
statuses ( $statuses ) |
To override |
|
willLoad ( ) |
|
|
wpdk_header_view_inner_title ( WPDKHeaderView $header_view ) |
Fires into the the title TAG. |
|
wpdk_list_table_remove_query_args_redirect ( array $args = [] ) |
Filter the query args for redirect after an actions. |
|