class Setting extends AbstractEntity (View source)

Settings entity are a simple key-value configuration system.

Properties

protected $id from AbstractEntity
static array $typeToHuman Associates custom form field type to a readable string.
static array $typeToForm Associates node-type field type to a Symfony Form type.

Methods

int
getId()

No description

setId(int $id)

No description

string
getName()

No description

$this
setName(string $name)

No description

mixed
getValue()

No description

$this
setValue(mixed $value)

No description

boolean
isVisible()

No description

$this
setVisible(boolean $visible)

No description

getSettingGroup()

No description

$this
setSettingGroup(SettingGroup $settingGroup)

No description

integer
getType()

No description

$this
setType(integer $type)

No description

Details

int getId()

Return Value

int

AbstractEntity setId(int $id)

Parameters

int $id

Return Value

AbstractEntity

string getName()

Return Value

string

$this setName(string $name)

Parameters

string $name

Return Value

$this

mixed getValue()

Return Value

mixed

$this setValue(mixed $value)

Parameters

mixed $value

Return Value

$this

boolean isVisible()

Return Value

boolean

$this setVisible(boolean $visible)

Parameters

boolean $visible

Return Value

$this

SettingGroup getSettingGroup()

Return Value

SettingGroup

$this setSettingGroup(SettingGroup $settingGroup)

Parameters

SettingGroup $settingGroup

Return Value

$this

integer getType()

Return Value

integer

$this setType(integer $type)

Parameters

integer $type

Return Value

$this