Method | Description | |
---|---|---|
build ( ) : OpenSkill\Datatable\Columns\ColumnConfiguration | Will create the final ColumnConfiguration | |
create ( ) : |
Will create a new builder for a ColumnConfigurationBuilder. | |
name ( string $name ) | ||
orderable ( OpenSkill\Datatable\Columns\Orderable\Orderable $orderable ) | ||
searchable ( |
||
withCallable ( callable $callable ) |
Method | Description | |
---|---|---|
__construct ( ) | ColumnConfigurationBuilder constructor. | |
checkCallable ( ) | Will check if the callable is set and is executable, if not a sensible default will be set. | |
checkName ( ) | Will check if the name is empty and throws an exception if that is the case. | |
checkOrderable ( ) | Will check if the orderable flag is correctly set, otherwise it will be set to the default NONE | |
checkSearchable ( ) | Will check if the searchable flag is correctly set, if not it will be set to the default NONE |
public build ( ) : OpenSkill\Datatable\Columns\ColumnConfiguration | ||
return | OpenSkill\Datatable\Columns\ColumnConfiguration |
public static create ( ) : |
||
return |
public orderable ( OpenSkill\Datatable\Columns\Orderable\Orderable $orderable ) | ||
$orderable | OpenSkill\Datatable\Columns\Orderable\Orderable |
public searchable ( |
||
$searchable |