Ejemplo n.º 1
0
 /**
  * beforeFilter
  *
  * @return void
  */
 public function beforeFilter()
 {
     parent::beforeFilter();
     $this->Auth->deny('index');
     //タブの設定
     $this->initTabs('block_index', 'block_settings');
 }
Ejemplo n.º 2
0
 /**
  * beforeFilter
  *
  * @return void
  */
 public function beforeFilter()
 {
     parent::beforeFilter();
     $this->Auth->allow();
     $frameId = isset($this->params['pass'][0]) ? (int) $this->params['pass'][0] : 0;
     //Frameのデータをviewにセット
     if (!$this->NetCommonsFrame->setView($this, $frameId)) {
         $this->response->statusCode(400);
         return;
     }
     //Roleのデータをviewにセット
     if (!$this->NetCommonsRoomRole->setView($this)) {
         $this->response->statusCode(400);
         return;
     }
 }
Ejemplo n.º 3
0
 /**
  * beforeFilter
  *
  * @return void
  */
 public function beforeFilter()
 {
     parent::beforeFilter();
     $this->Auth->allow('index', 'view', 'link');
 }
 /**
  * beforeFilter
  *
  * @return void
  */
 public function beforeFilter()
 {
     parent::beforeFilter();
     //タブの設定
     $this->initTabs('frame_settings', '');
 }
Ejemplo n.º 5
0
 /**
  * beforeFilter
  *
  * @return void
  */
 public function beforeFilter()
 {
     parent::beforeFilter();
     $this->Auth->allow();
 }
 /**
  * beforeFilter
  *
  * @return void
  */
 public function beforeFilter()
 {
     parent::beforeFilter();
     //タブの設定
     $this->initTabs('block_index', 'role_permissions');
 }