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

string
getName()

Name

from Field
string
getLabel()

Name

from Field
boolean
isVisible()

Sichtbarkeit

from Field
boolean
isEditable()

Änderbar

from Field
boolean
isFilterable()

Filtern nach dem Feld

from Field
boolean
isMultiple()

Mehrfachwerte

from Field
string
getType()

Type

from Field
setDataAttribute(string $key, string $value)

Werte für Data-Attribute setzen

from Field
SimpleMap
getDataAttributes()

DataFelder

from Field
boolean
hasDataAttributes()

Prüfen ob die Felddefinitionen Data-Attribute hat

from Field
setVisibility(boolean $visible)

Sichtbarkeit

from Field
setEditable(boolean $editable)

Editable

from Field
setFilterable(boolean $filterable)

Filterbar

from Field
setInfo(string $text)

Infotext setzen

from Field
string
getInfo()

Infotext

from Field
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

Parameters

string $name Name
string $type Typ
string $label Label

in Field at line 104
string getName()

Name

Return Value

string

in Field at line 113
string getLabel()

Name

Return Value

string

in Field at line 122
boolean isVisible()

Sichtbarkeit

Return Value

boolean

in Field at line 131
boolean isEditable()

Änderbar

Return Value

boolean

in Field at line 140
boolean isFilterable()

Filtern nach dem Feld

Return Value

boolean

in Field at line 149
boolean isMultiple()

Mehrfachwerte

Return Value

boolean

in Field at line 158
string getType()

Type

Return Value

string Type

in Field at line 170
Field setDataAttribute(string $key, string $value)

Werte für Data-Attribute setzen

Parameters

string $key Attribute-Name
string $value Wert

Return Value

Field

in Field at line 180
SimpleMap getDataAttributes()

DataFelder

Return Value

SimpleMap Data-Felder

in Field at line 189
boolean hasDataAttributes()

Prüfen ob die Felddefinitionen Data-Attribute hat

Return Value

boolean

in Field at line 200
Field setVisibility(boolean $visible)

Sichtbarkeit

Parameters

boolean $visible

Return Value

Field

in Field at line 212
Field setEditable(boolean $editable)

Editable

Parameters

boolean $editable

Return Value

Field

in Field at line 224
Field setFilterable(boolean $filterable)

Filterbar

Parameters

boolean $filterable

Return Value

Field

in Field at line 236
Field setInfo(string $text)

Infotext setzen

Parameters

string $text

Return Value

Field

in Field at line 246
string getInfo()

Infotext

Return Value

string $text

at line 87
static Field getInstanceFromProperties(Properties $properties)

Definition aus Konfiguration auslesen

Parameters

Properties $properties Eigenschaften

Return Value

Field

at line 64
boolean isSortable()

Sichtbarkeit

Return Value

boolean

at line 75
Column setSortable(boolean $sortable)

Sortierbarkeit

Parameters

boolean $sortable

Return Value

Column