onOffice WP Plugin

EstateListTable extends ListTable
in package

Table of Contents

$_itemsPerPage  : int
$_pFilterCall  : FilterCall
__construct()  : mixed
ajax_user_can()  : bool
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_list_type()  : string|null
column_shortcode()  : string
column_show_status()  : 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

Methods

__construct()

public __construct([array<string|int, mixed> $args = [] ]) : mixed
Parameters
$args : array<string|int, mixed> = []

An associative array of arguments.

Tags
see
WP_List_Table::__construct()

for more information on default arguments.

Return values
mixed

ajax_user_can()

public ajax_user_can() : bool
Return values
bool

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_list_type()

protected column_list_type(object $pItem) : string|null
Parameters
$pItem : object
Return values
string|null

column_shortcode()

protected column_shortcode(object $pItem) : string
Parameters
$pItem : object
Return values
string

column_show_status()

protected column_show_status(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
since
4.3.0
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

Search results