htmlDataTableColumn
in package
Column for data table.
Table of Contents
- TYPE_EMAIL = 'email'
- TYPE_HTML = 'html'
- TYPE_IMAGE = 'image'
- TYPE_TELEPHONE = 'telephone'
- TYPE_TEXT = 'text'
- $filterable : bool
- $formattingType : string
- $label : string
- $name : string
- __construct() : mixed
- getFormatter() : string
- Returns the Tabulator formatter name.
- getFormatterOptions() : array<string|int, mixed>
- Returns the Tabulator formatter options.
Constants
TYPE_EMAIL
public
mixed
TYPE_EMAIL
= 'email'
TYPE_HTML
public
mixed
TYPE_HTML
= 'html'
TYPE_IMAGE
public
mixed
TYPE_IMAGE
= 'image'
TYPE_TELEPHONE
public
mixed
TYPE_TELEPHONE
= 'telephone'
TYPE_TEXT
public
mixed
TYPE_TEXT
= 'text'
Properties
$filterable
public
bool
$filterable
$formattingType
public
string
$formattingType
$label
public
string
$label
$name
public
string
$name
Methods
__construct()
public
__construct(string $label, string $name[, bool $filterable = true ][, string $formattingType = self::TYPE_TEXT ]) : mixed
Parameters
- $label : string
-
column label text
- $name : string
-
column ID
- $filterable : bool = true
-
can be filtered
- $formattingType : string = self::TYPE_TEXT
Return values
mixed —getFormatter()
Returns the Tabulator formatter name.
public
getFormatter() : string
Return values
string —name
getFormatterOptions()
Returns the Tabulator formatter options.
public
getFormatterOptions() : array<string|int, mixed>
Return values
array<string|int, mixed> —options