class GroupConfig extends AbstractModel (View source)

Traits

Properties

protected AbstractDao $dao from AbstractModel
int $id Group id.
int $storeId Store ID
int $parentId Parent id
string $name The group name.
$description The group description.
int $creationDate
int $modificationDate

Methods

Dao
getDao()

No description

setDao($dao)

No description

getResource() deprecated

No description

initDao(null $key = null, bool $forceDetection = false)

No description

static string|null
locateDaoClass(string $modelClass)

No description

$this
setValues(array $data = [])

No description

$this
setValue($key, $value)

No description

array
__sleep()

No description

mixed
__call($method, $args)

No description

__clone()

No description

array
getObjectVars()

returns object values without the dao

array
__debugInfo()

No description

void
beginTransaction()

No description

void
commit()

No description

void
rollBack()

No description

void
configure()

No description

array
getValidTableColumns(string $table, bool $cache)

No description

void
resetValidTableColumnsCache(string $table)

No description

mixed
getChilds() deprecated

No description

mixed
setChilds() deprecated

No description

mixed
hasChilds() deprecated

No description

static GroupConfig
getById(int $id)

No description

static GroupConfig
getByName($name, int $storeId = 1)

No description

int
hasChildren()

No description

static GroupConfig
create()

No description

$this
setId(int $id)

No description

int
getId()

No description

int
getParentId()

No description

setParentId(int $parentId)

No description

setName(string $name)

No description

string
getName()

No description

mixed
getDescription()

Returns the description.

setDescription($description)

Sets the description.

delete()

Deletes the key value group configuration

save()

Saves the group config

$this
setModificationDate($modificationDate)

No description

int
getModificationDate()

No description

$this
setCreationDate($creationDate)

No description

int
getCreationDate()

No description

getRelations()

Returns all keys belonging to this group

int
getStoreId()

No description

setStoreId(int $storeId)

No description

Details

Dao getDao()

Return Value

Dao

AbstractModel setDao($dao)

Parameters

$dao

Return Value

AbstractModel

AbstractDao getResource() deprecated

deprecated

Return Value

AbstractDao

initDao(null $key = null, bool $forceDetection = false)

Parameters

null $key
bool $forceDetection

Exceptions

Exception

static string|null locateDaoClass(string $modelClass)

Parameters

string $modelClass

Return Value

string|null

$this setValues(array $data = [])

Parameters

array $data

Return Value

$this

$this setValue($key, $value)

Parameters

$key
$value

Return Value

$this

array __sleep()

Return Value

array

mixed __call($method, $args)

Parameters

$method
$args

Return Value

mixed

Exceptions

Exception

__clone()

array getObjectVars()

returns object values without the dao

Return Value

array

array __debugInfo()

Return Value

array

void beginTransaction()

Return Value

void

void commit()

Return Value

void

void rollBack()

Return Value

void

void configure()

Return Value

void

array getValidTableColumns(string $table, bool $cache)

Parameters

string $table
bool $cache

Return Value

array

void resetValidTableColumnsCache(string $table)

Parameters

string $table

Return Value

void

mixed getChilds() deprecated

deprecated

Return Value

mixed

mixed setChilds() deprecated

deprecated

Return Value

mixed

mixed hasChilds() deprecated

deprecated

Return Value

mixed

static GroupConfig getById(int $id)

Parameters

int $id

Return Value

GroupConfig

static GroupConfig getByName($name, int $storeId = 1)

Parameters

$name
int $storeId

Return Value

GroupConfig

int hasChildren()

Return Value

int

static GroupConfig create()

Return Value

GroupConfig

$this setId(int $id)

Parameters

int $id

Return Value

$this

int getId()

Return Value

int

int getParentId()

Return Value

int

setParentId(int $parentId)

Parameters

int $parentId

setName(string $name)

Parameters

string $name

string getName()

Return Value

string

mixed getDescription()

Returns the description.

Return Value

mixed

GroupConfig setDescription($description)

Sets the description.

Parameters

$description

Return Value

GroupConfig

delete()

Deletes the key value group configuration

save()

Saves the group config

$this setModificationDate($modificationDate)

Parameters

$modificationDate

Return Value

$this

int getModificationDate()

Return Value

int

$this setCreationDate($creationDate)

Parameters

$creationDate

Return Value

$this

int getCreationDate()

Return Value

int

KeyGroupRelation getRelations()

Returns all keys belonging to this group

Return Value

KeyGroupRelation

int getStoreId()

Return Value

int

setStoreId(int $storeId)

Parameters

int $storeId