public function __construct(Library\ObjectConfig $config) { parent::__construct($config); $this->getState()->insert('application', 'word'); }
public function __construct(Library\ObjectConfig $config) { parent::__construct($config); $this->getState()->insert('limit', 'int')->insert('offset', 'int')->insert('sort', 'cmd')->insert('direction', 'word', 'asc')->insert('search', 'string')->insert('container', 'com:files.filter.container', null)->insert('folder', 'com:files.filter.path', '')->insert('name', 'com:files.filter.path', '', true)->insert('types', 'cmd', '')->insert('editor', 'string', '')->insert('config', 'json', ''); }
public function __construct(Library\ObjectConfig $config) { parent::__construct($config); $this->getState()->insert('name', 'cmd')->insert('hash', 'cmd')->insert('group', 'url')->insert('site', 'cmd')->insert('limit', 'int')->insert('offset', 'int')->insert('sort', 'cmd')->insert('direction', 'word', 'asc')->insert('search', 'string'); }
/** * Resets the model & clears cached data * * @param ModelContext $context */ protected function _actionReset(Library\ModelContext $context) { parent::_actionReset($context); $this->_data = null; }
public function __construct(Library\ObjectConfig $config) { parent::__construct($config); $this->getState()->insert('name', 'cmd', null, true); }