Definition at line 15 of file HasCheckboxesTrait.php.
◆ _generateMainCheckbox()
_generateMainCheckbox |
( |
& |
$captions | ) |
|
|
protected |
◆ _getCheckedChange()
_getCheckedChange |
( |
JsUtils |
$js = NULL | ) |
|
|
protected |
◆ _getCheckedMessageCall()
_getCheckedMessageCall |
( |
JsUtils |
$js = NULL | ) |
|
|
protected |
◆ _getCheckedMessageFunction()
_getCheckedMessageFunction |
( |
| ) |
|
|
protected |
◆ _runCheckboxes()
◆ _setAllChecked()
_setAllChecked |
( |
|
$checked | ) |
|
|
protected |
◆ addCountCheckedInToolbar()
addCountCheckedInToolbar |
( |
array |
$checkedMessage = null , |
|
|
|
$callback = null |
|
) |
| |
◆ addInToolbar()
addInToolbar |
( |
|
$element, |
|
|
|
$callback = NULL |
|
) |
| |
|
abstract |
◆ getCheckedMessage()
◆ getHasCheckboxes()
◆ setCheckedCallback()
setCheckedCallback |
( |
|
$checkedCallback | ) |
|
Set the callback function that determines whether the checkbox should be checked for an object.
- Parameters
-
callable | $checkedCallback | a callback like function($object) that returns true or false |
Definition at line 130 of file HasCheckboxesTrait.php.
◆ setCheckedClass()
setCheckedClass |
( |
|
$_checkedClass | ) |
|
◆ setCheckedMessage()
setCheckedMessage |
( |
array |
$_checkedMessage | ) |
|
Defines the message displayed when checkboxes are checked or unchecked with an associative array 0=>no selection,1=>one item selected, other=>{count} items selected.
- Parameters
-
- Returns
- \Ajax\semantic\widgets\datatable\DataTable
Definition at line 103 of file HasCheckboxesTrait.php.
◆ setHasCheckboxes()
setHasCheckboxes |
( |
|
$_hasCheckboxes | ) |
|
◆ $_checkedCallback
◆ $_checkedClass
◆ $_checkedMessage
◆ $_hasCheckboxes
◆ $_hasCheckedMessage
$_hasCheckedMessage =false |
|
protected |
The documentation for this class was generated from the following file: