コード例 #1
0
 /**
  * Checks to see if any of the forms on this page have invalid messages
  * @return boolean
  */
 public function hasInvalid()
 {
     $invalid = parent::hasInvalid();
     if ($this->old_position) {
         $invalid |= $this->old_position->hasInvalid();
         $invalid |= $this->old_person_position->hasInvalid();
     }
     if ($this->new_position) {
         $invalid |= $this->new_position->hasInvalid();
     }
     return $invalid;
 }