Esempio n. 1
0
 /**
  * beforeFilter
  *
  * @return void
  */
 public function beforeFilter()
 {
     // ゲストアクセスOKのアクションを設定
     $this->Auth->allow('index', 'view', 'category', 'tag', 'year_month');
     $this->Categories->initCategories();
     parent::beforeFilter();
 }
 /**
  * beforeFilter
  *
  * @return void
  */
 public function beforeFilter()
 {
     parent::beforeFilter();
     $results = $this->camelizeKeyRecursive($this->NetCommonsFrame->data);
     $this->set($results);
     //タブの設定
     $this->initTabs('block_index', 'role_permissions');
 }
Esempio n. 3
0
 /**
  * beforeFilter
  *
  * @return void
  */
 public function beforeFilter()
 {
     parent::beforeFilter();
     $this->Auth->deny('index');
     $results = $this->camelizeKeyRecursive($this->NetCommonsFrame->data);
     $this->set($results);
     //タブの設定
     $this->initTabs('block_index', 'block_settings');
 }
 /**
  * beforeFilter
  *
  * @return void
  */
 public function beforeFilter()
 {
     parent::beforeFilter();
     $results = $this->camelizeKeyRecursive($this->NetCommonsFrame->data);
     $this->set($results);
 }
 /**
  * beforeFilter
  *
  * @return void
  */
 public function beforeFilter()
 {
     parent::beforeFilter();
     $this->Categories->initCategories();
 }