ColumnsDefinition
final class ColumnsDefinition (View source)
Displays the form used to define the structure of the table
Methods
__construct(DatabaseInterface $dbi, Relation $relation, Transformations $transformations)
No description
array
displayForm(UserPrivileges $userPrivileges, string $action, int $numFields = 0, array|null $selected = null, array|null $fieldsMeta = null)
No description
static array
decorateColumnMetaDefault(string $type, string|null $default, bool $isNull)
Set default type and default value according to the column metadata
Details
__construct(DatabaseInterface $dbi, Relation $relation, Transformations $transformations)
No description
array
displayForm(UserPrivileges $userPrivileges, string $action, int $numFields = 0, array|null $selected = null, array|null $fieldsMeta = null)
No description
static array
decorateColumnMetaDefault(string $type, string|null $default, bool $isNull)
Set default type and default value according to the column metadata