/** * 事前処理. */ public function beforeFilter() { $this->autoRender = false; $this->Security->csrfCheck = false; $this->Security->validatePost = false; parent::beforeFilter(); }
/** * 前処理 * @access public */ public function beforeFilter() { parent::beforeFilter(); $this->loadModel('Shop'); // ブラックホールコールバック指定 $this->Security->blackHoleCallback = 'blackhole'; }
/** * 前処理 * @access public */ public function beforeFilter() { parent::beforeFilter(); // listsメソッドを、listとして扱う if ($this->action == "list") { $this->action = "lists"; } }
/** * 前処理 * @access public */ public function beforeFilter() { parent::beforeFilter(); $this->loadModel('InspectRejectItem'); // listsメソッドを、listとして扱う if ($this->action == "list") { $this->action = "lists"; } }
public function beforeFilter() { parent::beforeFilter(); // レイアウトファイルをログイン用に変更 $this->layout = 'manager/login'; // loginアクションをログインしなくても利用できるように設定 $this->Auth->allow('login', 'regist'); // ブラックホールコールバック指定 $this->Security->blackHoleCallback = 'blackhole'; }
/** * 前処理 * @access public */ public function beforeFilter() { parent::beforeFilter(); $this->loadModel('LangMap'); // listsメソッドを、listとして扱う if ($this->action == "list") { $this->action = "lists"; } // ブラックホールコールバック指定 $this->Security->blackHoleCallback = 'blackhole'; }
/** * 前処理 * @access public */ public function beforeFilter() { parent::beforeFilter(); // listsメソッドを、listとして扱う if ($this->action == "list") { $this->action = "lists"; } // ユーザーモデルの読み込み $this->loadModel('User'); $this->Security->validatePost = false; // ブラックホールコールバック指定 $this->Security->blackHoleCallback = 'blackhole'; }
/** * 前処理 * @access public */ public function beforeFilter() { parent::beforeFilter(); $this->loadModel('InspectRequest'); $this->loadModel('Reject'); $this->loadModel('User'); $this->loadModel('Store'); // listsメソッドを、listとして扱う if ($this->action == "list") { $this->action = "lists"; } $this->Security->csrfCheck = false; $this->Security->validatePost = false; }
/** * 前処理 * @access public */ public function beforeFilter() { parent::beforeFilter(); $this->Security->csrfCheck = false; $this->Security->validatePost = false; }
/** * 前処理 * @access public */ public function beforeFilter() { parent::beforeFilter(); }
/** * 前処理 * @access public */ public function beforeFilter() { parent::beforeFilter(); $this->loadModel('User'); $this->loadModel('Store'); }