class KeyGroupRelation extends AbstractModel (View source)

Properties

protected AbstractDao $dao from AbstractModel
int $keyId
int $groupId
string $name The key
$description The key description.
$definition Field definition
$type Field type
int $sorter
string $groupName The group name
bool $mandatory
bool $enabled

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

create()

No description

int
getGroupId()

No description

setGroupId(int $groupId)

No description

int
getKeyId()

No description

setKeyId(int $keyId)

No description

string
getName()

No description

setName(string $name)

No description

mixed
getDescription()

No description

setDescription(mixed $description)

No description

mixed
getDefinition()

No description

setDefinition(mixed $definition)

No description

mixed
getType()

No description

setType(mixed $type)

No description

int
getSorter()

No description

setSorter(int $sorter)

No description

bool
isMandatory()

No description

setMandatory(bool $mandatory)

No description

bool
isEnabled()

No description

setEnabled(bool $enabled)

No description

getByGroupAndKeyId($groupId, $keyId)

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

static KeyGroupRelation create()

Return Value

KeyGroupRelation

int getGroupId()

Return Value

int

setGroupId(int $groupId)

Parameters

int $groupId

int getKeyId()

Return Value

int

setKeyId(int $keyId)

Parameters

int $keyId

string getName()

Return Value

string

setName(string $name)

Parameters

string $name

mixed getDescription()

Return Value

mixed

setDescription(mixed $description)

Parameters

mixed $description

mixed getDefinition()

Return Value

mixed

setDefinition(mixed $definition)

Parameters

mixed $definition

mixed getType()

Return Value

mixed

setType(mixed $type)

Parameters

mixed $type

int getSorter()

Return Value

int

setSorter(int $sorter)

Parameters

int $sorter

bool isMandatory()

Return Value

bool

setMandatory(bool $mandatory)

Parameters

bool $mandatory

bool isEnabled()

Return Value

bool

setEnabled(bool $enabled)

Parameters

bool $enabled

static KeyGroupRelation getByGroupAndKeyId($groupId, $keyId)

Parameters

$groupId
$keyId

Return Value

KeyGroupRelation