AddressListTable
extends ListTable
in package
Tags
Table of Contents
- $_itemsPerPage : int
- $_pFilterCall : FilterCall
- __construct() : mixed
- get_columns() : array<string|int, mixed>
- getArgs() : array<string|int, mixed>
- no_items() : mixed
- prepare_items() : mixed
- $columns = array( 'link_name' => __('Link Name', 'onoffice-for-wp-websites'), 'link_category' => __('Link Category', 'onoffice-for-wp-websites'), 'cb' => '<input type="checkbox" />', );
- column_cb() : string
- column_default() : string
- column_filtername() : string
- column_shortcode() : string
- get_bulk_actions() : array<string|int, mixed>
- get_default_primary_column_name() : string
- Get the name of the default primary column.
- getItems() : array<string|int, mixed>
- handle_row_actions() : string
- Generates and displays row action links.
- handleRecord() : mixed
- setItems() : mixed
- fillData() : mixed
Properties
$_itemsPerPage
private
int
$_itemsPerPage
= null
$_pFilterCall
private
FilterCall
$_pFilterCall
= null
Methods
__construct()
public
__construct([array<string|int, mixed> $args = [] ]) : mixed
Parameters
- $args : array<string|int, mixed> = []
Return values
mixed —get_columns()
public
get_columns() : array<string|int, mixed>
Return values
array<string|int, mixed> —getArgs()
public
getArgs() : array<string|int, mixed>
Return values
array<string|int, mixed> —no_items()
public
no_items() : mixed
Return values
mixed —prepare_items()
$columns = array( 'link_name' => __('Link Name', 'onoffice-for-wp-websites'), 'link_category' => __('Link Category', 'onoffice-for-wp-websites'), 'cb' => '<input type="checkbox" />', );
public
prepare_items() : mixed
Return values
mixed —column_cb()
protected
column_cb(object $pItem) : string
Parameters
- $pItem : object
Return values
string —column_default()
protected
column_default(object $pItem, string $columnName) : string
Parameters
- $pItem : object
- $columnName : string
Return values
string —column_filtername()
protected
column_filtername(object $pItem) : string
Parameters
- $pItem : object
Return values
string —column_shortcode()
protected
column_shortcode(object $pItem) : string
Parameters
- $pItem : object
Return values
string —get_bulk_actions()
protected
get_bulk_actions() : array<string|int, mixed>
Return values
array<string|int, mixed> —get_default_primary_column_name()
Get the name of the default primary column.
protected
get_default_primary_column_name() : string
Tags
Return values
string —Name of the default primary column
getItems()
protected
getItems() : array<string|int, mixed>
Return values
array<string|int, mixed> —handle_row_actions()
Generates and displays row action links.
protected
handle_row_actions(object $pItem, string $column_name, string $primary) : string
Parameters
- $pItem : object
-
Link being acted upon.
- $column_name : string
-
Current column name.
- $primary : string
-
Primary column name.
Return values
string —Row action output for links.
handleRecord()
protected
handleRecord(array<string|int, mixed> $records) : mixed
Parameters
- $records : array<string|int, mixed>
Return values
mixed —setItems()
protected
setItems(array<string|int, mixed> $items) : mixed
Parameters
- $items : array<string|int, mixed>
Return values
mixed —fillData()
private
fillData() : mixed