class SettingGroup extends AbstractEntity (View source)

Settings entity are a simple key-value configuration system.

Properties

protected $id from AbstractEntity
protected $inMenu

Methods

int
getId()

No description

setId(int $id)

No description

string
getName()

No description

setName(string $name)

No description

boolean
isInMenu()

No description

setInMenu(boolean $newinMenu)

No description

__construct()

No description

ArrayCollection
getSettings()

No description

addSetting(Setting $setting)

No description

addSettings(ArrayCollection $settings)

No description

Details

int getId()

Return Value

int

AbstractEntity setId(int $id)

Parameters

int $id

Return Value

AbstractEntity

string getName()

Return Value

string

SettingGroup setName(string $name)

Parameters

string $name

Return Value

SettingGroup

boolean isInMenu()

Return Value

boolean

SettingGroup setInMenu(boolean $newinMenu)

Parameters

boolean $newinMenu

Return Value

SettingGroup

__construct()

ArrayCollection getSettings()

Return Value

ArrayCollection

SettingGroup addSetting(Setting $setting)

Parameters

Setting $setting

Return Value

SettingGroup

SettingGroup addSettings(ArrayCollection $settings)

Parameters

ArrayCollection $settings

Return Value

SettingGroup