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 49
__construct(string $name, string $type, string $label = null)
Neue Spaltendefinition
in Field at line 102
string
getName()
Name
in Field at line 111
string
getLabel()
Name
in Field at line 120
boolean
isVisible()
Sichtbarkeit
in Field at line 129
boolean
isEditable()
Änderbar
in Field at line 138
boolean
isFilterable()
Filtern nach dem Feld
in Field at line 147
boolean
isMultiple()
Mehrfachwerte
in Field at line 156
string
getType()
Type
in Field at line 168
Field
setDataAttribute(string $key, string $value)
Werte für Data-Attribute setzen
in Field at line 178
SimpleMap
getDataAttributes()
DataFelder
in Field at line 187
boolean
hasDataAttributes()
Prüfen ob die Felddefinitionen Data-Attribute hat
in Field at line 244
string
getInfo()
Infotext
at line 85
static Field
getInstanceFromProperties(Properties $properties)
Definition aus Konfiguration auslesen
at line 62
boolean
isSortable()
Sichtbarkeit
at line 73
Column
setSortable(boolean $sortable)
Sortierbarkeit