/**
  * @inheritDocs
  */
 public function validate()
 {
     $this->loadJsonApiContent();
     $this->validateJsonApiContent();
     $this->interpretJsonApiContent();
     parent::validate();
 }
Exemple #2
0
 /**
  *  Sanitize input before validating.
  *
  *  @return void
  */
 public function validate()
 {
     $this->sanitize();
     parent::validate();
 }
Exemple #3
0
 public function validate()
 {
     $this->beforeValidateCallback();
     parent::validate();
     $this->afterValidateCallback();
 }
Exemple #4
0
 /**
  * When validating, first, set any checkbox fields that may be missing from the request;
  * then, run hoursToMinutes on time inputs
  */
 public function validate()
 {
     $this->setCheckboxes();
     parent::validate();
     $this->hoursToMinutes();
 }
Exemple #5
0
 /**
  * Call the autoRegister method to register the custom rules and trigger the parent validate method.
  */
 public function validate()
 {
     $this->autoRegister();
     parent::validate();
 }
Exemple #6
0
 public function validate()
 {
     Session::flash('error_location', 'login');
     parent::validate();
 }