phpDocumentor

DataTableColumn
in package

Class DataTableColumn

Tags
category

System

subpackage

Helpers

Table of Contents

$field  : string
Database field (can also be a concatenated string).
$name  : string
Table column slug name.
$options  : array<string|int, mixed>
Option Entries
$source  : string
Options Source URL
$title  : string
Title do be displayed on the table.
$type  : string
One of the available table column types.
getField()  : string
DbColumn Getter
getName()  : string
Name Getter
getOptions()  : string
Options Getter
getSource()  : string
Source Getter
getTitle()  : string
Title Getter
getType()  : string
Type Getter
setField()  : DataTableColumn
DbColumn Setter
setName()  : DataTableColumn
Name Setter
setOptions()  : DataTableColumn
Options Setter
setSource()  : DataTableColumn
Source Setter
setTitle()  : DataTableColumn
Title Setter
setType()  : DataTableColumn
Type Setter

Properties

$field

Database field (can also be a concatenated string).

protected string $field = ''

$options

Option Entries

protected array<string|int, mixed> $options = []

Provide [value, text] options in this array and they will be added to the multi-select widget used for the record filtering. This is an alternative to providing a source URL.

$source

Options Source URL

protected string $source = ''

Applied only to STRING columns which are served with a multi-select filtering widget that will take its options from the source URL.

Methods

Search results