Example #1
0
 public function isValid()
 {
     if ($this->valid === NULL) {
         $this->valid = !$this->form->hasErrors($this->name);
     }
     return $this->valid;
 }