onOffice WP Plugin

EstateUnitsTable extends ListTable
in package

Table of Contents

$_itemsPerPage  : int
__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_shortcode()  : string
get_bulk_actions()  : array<string|int, mixed>
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> = []
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_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>

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