메소드 |
설명 |
|
__construct ( ) |
Constructor, must call parent |
|
_js_vars ( ) |
|
|
addMenu ( ) |
WP Hook, Instantiate UI |
|
addSearchParamsToUrl ( string $url ) : string |
Rebuild a URL with known search parameters |
|
ajax_response ( ) |
|
|
column_cb ( array $item ) : string |
REQUIRED if displaying checkboxes or using bulk actions! The 'cb' column
is given special treatment when columns are processed. It ALWAYS needs to
have it's own method. |
|
column_cover ( array $item ) : string |
|
|
column_default ( object $item, string $column_name ) : string |
This method is called when the parent class can't find a method
for a given column. For example, if the class needs to process a column
named 'title', it would first see if a method named $this->column_title()
exists. If it doesn't this one will be used. |
|
column_status ( array $item ) : string |
|
|
column_title ( array $item ) : string |
|
|
get_bulk_actions ( ) : array |
|
|
get_columns ( ) : array |
This method dictates the table's columns and titles. |
|
get_sortable_columns ( ) : array |
This method merely defines which columns should be sortable and makes them
clickable - it does not handle the actual sorting. |
|
prepare_items ( ) |
REQUIRED! This is where you prepare your data for display. This method will
usually be used to query the database, sort and filter the data, and generally
get it ready to be displayed. At a minimum, we should set $this->items and
$this->set_pagination_args() |
|
print_column_headers ( boolean $with_id = true ) |
Form is POST not GET. Override parent method to compensate. |
|
viewCatalogUrl ( ) : string |
Generate catalog URL. Dies on problem. |
|