GravityKit\GravityCalendar\Overview\Calendars_Overview_Table
Source: includes/overview/class-calendars-overview-table.php:13
Details
- Kind:
class - Namespace:
GravityKit\GravityCalendar\Overview - Extends:
GFAddOnFeedsTable
Methods
| Method | Description |
|---|---|
__construct() | Table constructor. |
set_columns() | Sets the hidden, sortable and primary columns. |
prepare_items() | Orders and paginates the items. |
Method Reference
__construct()
public function __construct( $feeds, $slug, $columns, $bulk_actions, $action_links, $column_value_callback, $no_items_callback, $message_callback, $addon_class )
Table constructor.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$feeds | array | Feeds array. | |
$slug | string | Slug. | |
$columns | string[] | Columns. | |
$bulk_actions | array | Bulk actions array. | |
$action_links | array | Action links array. | |
$column_value_callback | callable | Column value callback. | |
$no_items_callback | callable | No items callback. | |
$message_callback | callable | Message callback. | |
$addon_class | object | Addon class. |
Since: 2.9.0
Source: includes/overview/class-calendars-overview-table.php:29
set_columns()
public function set_columns()
Sets the hidden, sortable and primary columns.
Since: 2.9.0
Source: includes/overview/class-calendars-overview-table.php:61
prepare_items()
public function prepare_items(): void
Orders and paginates the items.
Returns
void
Since: 2.9.0
Source: includes/overview/class-calendars-overview-table.php:76