Exemple #1
0
 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();
 }
Exemple #2
0
 public function setup()
 {
     $this->setup_settings();
     $this->load_state();
     return parent::setup();
 }
Exemple #3
0
 public function setup()
 {
     $url = $this->rep_query('tags.json');
     $this->tags = $this->get_query($url);
     return parent::setup()->render_defaults('connect_error', 'tags');
 }