public function setup() { if (CMS::vars()->storage_type() == 'orm') { $this->orm_name = 'vars'; } if (CMS::vars()->storage_type() == 'storage') { $this->storage_name = 'vars'; } return parent::setup(); }
public function setup() { $this->setup_settings(); $this->load_state(); return parent::setup(); }
public function setup() { $url = $this->rep_query('tags.json'); $this->tags = $this->get_query($url); return parent::setup()->render_defaults('connect_error', 'tags'); }