Beta version

class Setting extends AbstractEntity

Settings entity are a simple key-value configuration system.

Properties

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()

Get entity unique identifier.

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

in AbstractEntity at line 51
int getId()

Get entity unique identifier.

Return Value

int

in AbstractEntity at line 60
AbstractEntity setId(int $id)

Parameters

int $id

Return Value

AbstractEntity

at line 91
string getName()

Return Value

string

at line 100
$this setName(string $name)

Parameters

string $name

Return Value

$this

at line 116
mixed getValue()

Return Value

mixed

at line 135
$this setValue(mixed $value)

Parameters

mixed $value

Return Value

$this

at line 153
boolean isVisible()

Return Value

boolean

at line 162
$this setVisible(boolean $visible)

Parameters

boolean $visible

Return Value

$this

at line 178
SettingGroup getSettingGroup()

Return Value

SettingGroup

at line 187
$this setSettingGroup(SettingGroup $settingGroup)

Parameters

SettingGroup $settingGroup

Return Value

$this

at line 204
integer getType()

Return Value

integer

at line 213
$this setType(integer $type)

Parameters

integer $type

Return Value

$this