/** * Constructor * * @param object An optional KConfig object with configuration options */ public function __construct(KConfig $config) { parent::__construct($config); // Set the static states $this->_state->limit = KFactory::get('joomla:application')->getCfg('list_limit'); }
public function __construct(KConfig $config) { $sluggable = KFactory::tmp('lib.koowa.database.behavior.sluggable', array('columns' => array('name'))); $config->table_behaviors = array($sluggable, 'orderable', 'lockable', 'creatable', 'modifiable'); parent::__construct($config); $this->_state->insert('jedi_rank_id', 'int')->insert('enabled', 'int'); }
public function __construct(KConfig $config) { parent::__construct($config); $parent = $this->getTable()->select(array('name' => 'USERS', 'value' => 'USERS'), KDatabase::FETCH_ROW); $this->_state->insert('parent', 'int', $parent->id); $this->_state->insert('core', 'boolean'); }
public function __construct(KConfig $config) { $config->table_behaviors = array('sluggable', 'orderable', 'lockable', 'creatable', 'modifiable'); parent::__construct($config); $this->_state->insert('enabled', 'int'); }
public function __construct(KConfig $config) { parent::__construct($config); $this->_state->insert('task', 'int')->insert('member', 'int'); }