validate() public method

Performs the server side validation.
public validate ( ) : void
return void
Example #1
0
 public function validate()
 {
     parent::validate();
     if ($this->rules->validate() === TRUE) {
         $this->session->getSection($this->sessionSection)->remove();
     }
 }