Example #1
0
 /**
  * beforeFilter callback
  *
  * @param  
  * @return 
  * @access public
  * @throws 
  */
 public function beforeFilter()
 {
     parent::beforeFilter();
     $this->Ticket->recursive = 0;
     $this->_setProcessOptions();
     $this->_setupModel();
     $this->Ticket->validator()->remove('safety_id', 'notBlank');
     $this->Ticket->validator()->remove('priority_id', 'notBlank');
 }
Example #2
0
 /**
  * beforeFilter callback
  *
  * @param  
  * @return void
  * @access public
  * @throws 
  */
 public function beforeFilter()
 {
     parent::beforeFilter();
     $this->Ticket->recursive = 0;
     $this->_setProcessOptions();
 }
Example #3
0
 /**
  * beforeFilter callback
  *
  * @param  
  * @return 
  * @access public
  * @throws 
  */
 public function beforeFilter()
 {
     parent::beforeFilter();
     $this->_setupModel();
     $this->_setProcessOptions();
 }