DashboardModel
class DashboardModel extends ModelRepository (View source)
The DashboardModel class.
Traits
The BootableTrait class.
The MultiSingletonTrait class.
Methods
__construct(Structure|array $config = null, Structure $state = null, mixed $source = null)
Instantiate the model.
from ModelRepository
array
getItems()
getItems
getFiles()
getFiles
array
getLastItem()
getLastItem
Details
in SingletonTrait at line line 32
static SingletonTrait
getInstance(array $args)
getInstance
in SingletonTrait at line line 51
static mixed
setInstance(object $instance)
setInstance
in ModelRepository at line line 84
__construct(Structure|array $config = null, Structure $state = null, mixed $source = null)
Instantiate the model.
in ModelRepository at line line 118
mixed
__call(string $name, array $args = array())
__call
in ModelRepository at line line 145
Structure
getConfig()
Method to get property Config
in ModelRepository at line line 157
ModelRepository
setConfig(Structure $config)
Method to set property config
in ModelRepository at line line 169
string
getName()
Method to get property Name
in ModelRepository at line line 195
ModelRepository
setName(string $name)
Method to set property name
in ModelRepository at line line 209
string
getCacheId(string $id = null)
getStoredId
in ModelRepository at line line 260
ModelRepository
resetCache()
resetCache
in ModelRepository at line line 285
Structure
getState()
Get the model state.
in ModelRepository at line line 297
void
setState(Structure $state)
Set the model state.
in ModelRepository at line line 310
mixed
get(string $key, mixed $default = null)
get
in ModelRepository at line line 323
$this
set(string $key, mixed $value)
set
in ModelRepository at line line 335
ModelRepository
reset()
reset
in ModelRepository at line line 349
boolean
offsetExists(mixed $offset)
Is a property exists or not.
in ModelRepository at line line 362
mixed
offsetGet(mixed $offset)
Get a property.
in ModelRepository at line line 376
void
offsetSet(mixed $offset, mixed $value)
Set a value to property.
in ModelRepository at line line 389
void
offsetUnset(mixed $offset)
Unset a property.
in ModelRepository at line line 401
Structure
__get(string $name)
__get
at line line 26
array
getItems()
getItems
at line line 65
RecursiveIteratorIterator
getFiles()
getFiles
at line line 82
array
getLastItem()
getLastItem