예제 #1
0
파일: Main.php 프로젝트: kirkbauer2/kirkxc
 /**
  * Check for the form errors
  *
  * @return boolean
  */
 public function isValid()
 {
     $validActions = array('validateInput', 'delete');
     return in_array($this->currentAction, $validActions) ?: parent::isValid();
 }
예제 #2
0
파일: Main.php 프로젝트: kingsj/core
 /**
  * Check for the form errors
  *
  * @return boolean
  */
 public function isValid()
 {
     return 'validateInput' === $this->currentAction ?: parent::isValid();
 }