onOffice WP Plugin

ListTable extends WP_List_Table
in package

Tags
url

http://www.onoffice.de

copyright

2003-2017, onOffice(R) GmbH

Table of Contents

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
get_bulk_actions()  : array<string|int, mixed>
getItems()  : array<string|int, mixed>
handleRecord()  : mixed
setItems()  : mixed

Methods

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

$hidden = array('ID'); $sortable = array();

$this->_column_headers = array($columns, $hidden, $sortable); $this->items = array( array('link_name' => 'test', 'link_category' => 'check', 'ID' => 4), array('link_name' => 'test', 'link_category' => 'check', 'ID' => 5), array('link_name' => 'test', 'link_category' => 'check', 'ID' => 6), );

$this->set_pagination_args( array( 'total_items' => 3, 'per_page' => 3, 'total_pages' => 1 ) );

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

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>

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