Example #1
0
 public function __construct($route)
 {
     parent::__construct($route);
     $this->langModel = LangModel::getInstance();
     $this->langsModel = LangsModel::getInstance();
     $this->route->get('/json')->get('/json_var')->get('/php_array')->get('/csv')->get('/i18n');
 }
Example #2
0
 public function __construct($route)
 {
     parent::__construct($route);
     $this->textModel = TextModel::getInstance();
     $this->route->post('/clear', 'destroy');
     $this->addDefaultRoute();
 }
Example #3
0
 public function __construct($route)
 {
     parent::__construct($route);
     $this->keyModel = KeyModel::getInstance();
     $this->addDefaultRoute();
 }
Example #4
0
 public function __construct($route)
 {
     parent::__construct($route);
     $this->route->post('/hashes');
 }