AbstractElement
abstract class AbstractElement extends AbstractModel implements ElementInterface (View source)
Properties
protected AbstractDao | $dao | from AbstractModel | |
protected int | $__dataVersionTimestamp |
Methods
No description
Get specific property data or the property object itself ($asContainer=true) by its name, if the property doesn't exists return null
No description
No description
get the cache tag for the element
Get the cache tags for the element, resolve all dependencies to tag the cache entries This is necessary to update the cache if there is a change in an depended object
Resolves the dependencies of the element and returns an array of them - Used by update()
Returns true if the element is locked
No description
This is used for user-permissions, pass a permission type (eg. list, view, save) an you know if the current user is allowed to perform the requested action
No description
No description
Inverted hasChilds()
No description
No description
No description
No description
Details
in AbstractModel at line 61
AbstractModel
setDao($dao)
in AbstractModel at line 73
AbstractDao
getResource()
deprecated
deprecated
in AbstractModel at line 84
initDao(null $key = null, bool $forceDetection = false)
in AbstractModel at line 137
static string|null
locateDaoClass(string $modelClass)
in AbstractModel at line 187
$this
setValues(array $data = [])
in AbstractModel at line 204
$this
setValue($key, $value)
in AbstractModel at line 220
array
__sleep()
in AbstractModel at line 242
mixed
__call($method, $args)
in AbstractModel at line 266
__clone()
in AbstractModel at line 276
array
getObjectVars()
returns object values without the dao
in AbstractModel at line 287
array
__debugInfo()
in AbstractModel at line 27
void
beginTransaction()
in AbstractModel at line 27
void
commit()
in AbstractModel at line 27
void
rollBack()
in AbstractModel at line 27
void
configure()
in AbstractModel at line 27
array
getValidTableColumns(string $table, bool $cache)
in AbstractModel at line 27
void
resetValidTableColumnsCache(string $table)
at line 32
protected
updateModificationInfos()
at line 63
mixed
getProperty(string $name, bool $asContainer = false)
Get specific property data or the property object itself ($asContainer=true) by its name, if the property doesn't exists return null
at line 82
bool
hasProperty($name)
at line 92
removeProperty($name)
at line 104
string
getCacheTag()
get the cache tag for the element
at line 119
array
getCacheTags(array $tags = [])
Get the cache tags for the element, resolve all dependencies to tag the cache entries This is necessary to update the cache if there is a change in an depended object
at line 133
array
resolveDependencies()
Resolves the dependencies of the element and returns an array of them - Used by update()
at line 153
$this
isLocked()
Returns true if the element is locked
at line 166
array
getUserPermissions()
at line 189
bool
isAllowed(string $type)
This is used for user-permissions, pass a permission type (eg. list, view, save) an you know if the current user is allowed to perform the requested action
at line 200
unlockPropagate()
at line 214
protected
validatePathLength()
at line 226
bool
hasNoChilds()
Inverted hasChilds()