CheckboxColumn
CheckboxColumn
CheckboxColumn
- Full name: \Gibbon\Tables\Columns\CheckboxColumn
- Parent class: \Gibbon\Tables\Columns\Column
Methods
- __construct — Creates a pre-defined column for bulk-action checkboxes.
- getLabel — Overrides the label with a checkall checkbox.
- getOutput — Renders a bulk-action checkbox, grabbing the value by key from $data.
Inherited from Column
- __construct
- getLabel
- width
- getWidth
- description
- getDescription
- sortable
- notSortable
- getSortable
- format
- hasFormatter
- modifyCells
- getCellModifiers
- getOutput
Inherited from BasicAttributesTrait
- setID
- getID
- setTitle
- getTitle
- setClass
- addClass
- removeClass
- getClass
- addData
- getData
- getAttributeString
__construct
Creates a pre-defined column for bulk-action checkboxes.
CheckboxColumn::__construct( $id, $key = null )
getLabel
Overrides the label with a checkall checkbox.
CheckboxColumn::getLabel( ): string
Return Value:
string
getOutput
Renders a bulk-action checkbox, grabbing the value by key from $data.
CheckboxColumn::getOutput( array &$data = array() ): string
Return Value:
string