Column
class Column extends Field implements InstantiableFromProperties
Die Spaltendefinition ist für die Definition der Tabellen im Data-Presenter. Diese Definition ermöglicht anzugeben welche Felder sichtbar und sortierbar sind.
Properties
protected string | $name | from Field | |
protected string | $label | from Field | |
protected string | $visible | from Field | |
protected boolean | $editable | from Field | |
protected type | $type | from Field | |
protected string | $filterable | from Field | |
protected SimpleMap | $data | from Field | |
protected type | $info | from Field | |
protected boolean | $sortable |
Methods
__construct(string $name, string $type, string $label = null)
Neue Spaltendefinition
static Field
getInstanceFromProperties(Properties $properties)
Definition aus Konfiguration auslesen
boolean
isSortable()
Sichtbarkeit
Column
setSortable(boolean $sortable)
Sortierbarkeit
Details
at line 51
__construct(string $name, string $type, string $label = null)
Neue Spaltendefinition
in Field at line 104
string
getName()
Name
in Field at line 113
string
getLabel()
Name
in Field at line 122
boolean
isVisible()
Sichtbarkeit
in Field at line 131
boolean
isEditable()
Änderbar
in Field at line 140
boolean
isFilterable()
Filtern nach dem Feld
in Field at line 149
boolean
isMultiple()
Mehrfachwerte
in Field at line 158
string
getType()
Type
in Field at line 170
Field
setDataAttribute(string $key, string $value)
Werte für Data-Attribute setzen
in Field at line 180
SimpleMap
getDataAttributes()
DataFelder
in Field at line 189
boolean
hasDataAttributes()
Prüfen ob die Felddefinitionen Data-Attribute hat
in Field at line 246
string
getInfo()
Infotext
at line 87
static Field
getInstanceFromProperties(Properties $properties)
Definition aus Konfiguration auslesen
at line 64
boolean
isSortable()
Sichtbarkeit
at line 75
Column
setSortable(boolean $sortable)
Sortierbarkeit