コード例 #1
0
ファイル: ExportController.php プロジェクト: JoniJnm/jlangs
 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');
 }
コード例 #2
0
ファイル: TextController.php プロジェクト: JoniJnm/jlangs
 public function __construct($route)
 {
     parent::__construct($route);
     $this->textModel = TextModel::getInstance();
     $this->route->post('/clear', 'destroy');
     $this->addDefaultRoute();
 }
コード例 #3
0
ファイル: KeyController.php プロジェクト: JoniJnm/jlangs
 public function __construct($route)
 {
     parent::__construct($route);
     $this->keyModel = KeyModel::getInstance();
     $this->addDefaultRoute();
 }
コード例 #4
0
ファイル: ImportController.php プロジェクト: JoniJnm/jlangs
 public function __construct($route)
 {
     parent::__construct($route);
     $this->route->post('/hashes');
 }