class Classificationstore extends AbstractModel (View source)

Properties

protected AbstractDao $dao from AbstractModel
array $items
Concrete $object
ClassDefinition $class
string $fieldname
array $activeGroups
array $groupCollectionMapping

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

__construct(array $items = null)

No description

addItem($item)

No description

$this
setItems(array $items)

No description

array
getItems()

No description

$this
setObject(Concrete $object)

No description

getObject()

No description

$this
setClass(ClassDefinition $class)

No description

getClass()

No description

string
getLanguage(null $language = null)

No description

$this
setLocalizedKeyValue($groupId, $keyId, $value, null $language = null)

No description

removeGroupData($groupId)

Removes the group with the given id

array
getGroupIdsWithData()

Returns an array of

string
getFieldname()

No description

setFieldname(string $fieldname)

No description

array
getActiveGroups()

No description

setActiveGroups(array $activeGroups)

No description

null
getFallbackValue($groupId, $keyId, $language, $fielddefinition)

No description

null
getLocalizedKeyValue($groupId, $keyId, $language = 'default', $ignoreFallbackLanguage = false, $ignoreDefaultLanguage = false)

No description

static bool
doGetFallbackValues()

No description

array
getGroupCollectionMappings()

No description

setGroupCollectionMappings(array $groupCollectionMapping)

No description

setGroupCollectionMapping($groupId, $collectionId)

No description

mixed
getGroupCollectionMapping($groupId)

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

__construct(array $items = null)

Parameters

array $items

addItem($item)

Parameters

$item

$this setItems(array $items)

Parameters

array $items

Return Value

$this

array getItems()

Return Value

array

$this setObject(Concrete $object)

Parameters

Concrete $object

Return Value

$this

Concrete getObject()

Return Value

Concrete

$this setClass(ClassDefinition $class)

Parameters

ClassDefinition $class

Return Value

$this

ClassDefinition getClass()

Return Value

ClassDefinition

string getLanguage(null $language = null)

Parameters

null $language

Return Value

string

Exceptions

Exception

$this setLocalizedKeyValue($groupId, $keyId, $value, null $language = null)

Parameters

$groupId
$keyId
$value
null $language

Return Value

$this

Exceptions

Exception

removeGroupData($groupId)

Removes the group with the given id

Parameters

$groupId

array getGroupIdsWithData()

Returns an array of

Return Value

array

string getFieldname()

Return Value

string

setFieldname(string $fieldname)

Parameters

string $fieldname

array getActiveGroups()

Return Value

array

setActiveGroups(array $activeGroups)

Parameters

array $activeGroups

protected null getFallbackValue($groupId, $keyId, $language, $fielddefinition)

Parameters

$groupId
$keyId
$language
$fielddefinition

Return Value

null

null getLocalizedKeyValue($groupId, $keyId, $language = 'default', $ignoreFallbackLanguage = false, $ignoreDefaultLanguage = false)

Parameters

$groupId
$keyId
$language
$ignoreFallbackLanguage
$ignoreDefaultLanguage

Return Value

null

static bool doGetFallbackValues()

Return Value

bool

array getGroupCollectionMappings()

Return Value

array

setGroupCollectionMappings(array $groupCollectionMapping)

Parameters

array $groupCollectionMapping

setGroupCollectionMapping($groupId, $collectionId)

Parameters

$groupId
$collectionId

mixed getGroupCollectionMapping($groupId)

Parameters

$groupId

Return Value

mixed