Exemple #1
0
 /**
  * General variables
  */
 public function __construct()
 {
     parent::__construct();
     try {
         $moduleName = \Arxmin::getCurrentModule();
         $moduleAssets = Module::asset($moduleName . ':');
         $modulePath = Module::getModulePath($moduleName);
         $module_assets = $moduleAssets;
     } catch (Exception $e) {
     }
     $this->assign(get_defined_vars());
 }
Exemple #2
0
 public function __construct()
 {
     parent::__construct();
     $this->auth = Arxmin::getAuth();
 }
Exemple #3
0
 public function __construct()
 {
     parent::__construct();
     $this->beforeFilter('arxmin::auth', array('except' => array('anyAuth')));
 }