Methods
Constructor
__construct(object $componentObj, string $containerId, array $containerColumns = array()
, array $containerSortableColumns = array()
, string $orderColumn = ''
, array $columnsCallbacks = array()
, array $controllersList = array()
, array $availableControllers = array()
) : void
Parameters
$componentObj
object
Object for "settings-form" component
$containerId
string
Container identifier
$containerColumns
array
List of columns displayed on data set list - default: empty
$containerSortableColumns
array
List of sortable columns - default: empty
$orderColumn
string
Column for ordering - default: empty
$columnsCallbacks
array
Columns callbacks - default: empty
$controllersList
array
Data set controllers - default: empty
$availableControllers
array
List of controllers from $controllersList which will be used - default: empty
Get column data for checkboxes
column_cb($item) : string
Parameters
$item
Returns
string
Column data for checkboxes
Get column data to display
column_default(array $item, string $columnName) : string
Parameters
$columnName
string
Column name
Returns
string
Column data to display
Get bulk actions list
get_bulk_actions() : array
Returns
array
Bulk actions list
Get columns list
get_columns() : array
Returns
array
Columns list
Get sortable columns list
get_sortable_columns() : array
Returns
array
Sortable columns list
Prepare items
prepare_items() : void
Properties
Actions links
$actionsLinks : array
Bulk actions list
$bulkActions : array
Columns callbacks for displaying on data set list
$columnsCallbacks : array
Component "settings-form" object
$componentObj : object
List of columns displayed on data set list
$containerColumns : array
Container identifier
$containerId : string
List of sortable columns
$containerSortableColumns : array
First column identifier
$firstColumnId : string