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 49
__construct(string $name, string $type, string $label = null)

Neue Spaltendefinition

Parameters

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

in Field at line 102
string getName()

Name

Return Value

string

in Field at line 111
string getLabel()

Name

Return Value

string

in Field at line 120
boolean isVisible()

Sichtbarkeit

Return Value

boolean

in Field at line 129
boolean isEditable()

Änderbar

Return Value

boolean

in Field at line 138
boolean isFilterable()

Filtern nach dem Feld

Return Value

boolean

in Field at line 147
boolean isMultiple()

Mehrfachwerte

Return Value

boolean

in Field at line 156
string getType()

Type

Return Value

string Type

in Field at line 168
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 178
SimpleMap getDataAttributes()

DataFelder

Return Value

SimpleMap Data-Felder

in Field at line 187
boolean hasDataAttributes()

Prüfen ob die Felddefinitionen Data-Attribute hat

Return Value

boolean

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

Sichtbarkeit

Parameters

boolean $visible

Return Value

Field

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

Editable

Parameters

boolean $editable

Return Value

Field

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

Filterbar

Parameters

boolean $filterable

Return Value

Field

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

Infotext setzen

Parameters

string $text

Return Value

Field

in Field at line 244
string getInfo()

Infotext

Return Value

string $text

at line 85
static Field getInstanceFromProperties(Properties $properties)

Definition aus Konfiguration auslesen

Parameters

Properties $properties Eigenschaften

Return Value

Field

at line 62
boolean isSortable()

Sichtbarkeit

Return Value

boolean

at line 73
Column setSortable(boolean $sortable)

Sortierbarkeit

Parameters

boolean $sortable

Return Value

Column