Properties

$no_items_message

$no_items_message : string

Type

normal

$actions

$actions : array

Type

normal

$bulk_actions

$bulk_actions : array

Type

normal

$columns

$columns : array

Type

normal

Methods

__construct()

__construct(array  $args = array()) : mixed

JB_Roles_List_Table constructor.

Parameters

array $args

Returns

mixed

prepare_items()

prepare_items() : mixed

Returns

mixed

single_row()

single_row(object|array  $item) : mixed

Generates content for a single row of the table.

Parameters

object|array $item

The current item

Returns

mixed

single_row_columns()

single_row_columns(mixed  $item) : mixed

Parameters

mixed $item

Returns

mixed

column_default()

column_default(object  $item, string  $column_name) : string

Parameters

object $item
string $column_name

Returns

string

no_items()

no_items() : mixed

Returns

mixed

set_columns()

set_columns(array  $args = array()) : $this

Parameters

array $args

Returns

$this

get_columns()

get_columns() : array

Returns

array

set_actions()

set_actions(array  $args = array()) : $this

Parameters

array $args

Returns

$this

get_actions()

get_actions() : array

Returns

array

set_bulk_actions()

set_bulk_actions(array  $args = array()) : $this

Parameters

array $args

Returns

$this

get_bulk_actions()

get_bulk_actions() : array

Returns

array

get_table_classes()

get_table_classes() : mixed

Returns

mixed

column_cb()

column_cb(object  $item) : string

Parameters

object $item

Returns

string

column_type()

column_type(object  $item) : string

Parameters

object $item

Returns

string

column_module_title()

column_module_title( $item) : string

Parameters

$item

Returns

string

sort_modules_by_title()

sort_modules_by_title(array  $a, array  $b) : int

Sorts a modules array by first member of each top level member

Used by uasort() as a callback, should not be used directly.

Parameters

array $a
array $b

Returns

int