Method |
Description |
|
__construct ( string $table_name, string $sql_file = '' ) : WPDKDBTableModelListTable |
Create an instance of WPDKDBTableModelListTable class |
|
action_result ( boolean | WP_Error $result ) |
Set the action result. |
|
count ( ) |
public function count( $distinct = '', $status = '' ) |
|
current_action ( string $nonce = '' ) : string | boolean |
Get the current action selected from the bulk actions dropdown. |
|
get_actions_with_status ( mixed $item, string $status ) : array |
Return tha array with the action 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_icon_statuses ( ) : array |
Return a key value pairs array with statuses icons glyph |
|
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. |
|
insert ( ) |
public function insert( $prefix, $values, $format = array() ) |
|
process_bulk_action ( ) |
Process actions |
|
select ( ) : array |
Return the items array. This is an array of key value pairs array |
|
status ( integer $id, string $status = WPDKDBTableRowStatuses::PUBLISH ) : mixed |
Set one or more record wit a status |
|
update ( ) |
public function update( $prefix, $values, $where, $format = array() ) |
|