Example #1
0
 /**
  * Validate filter
  *
  * @return boolean
  */
 protected function validateFilter()
 {
     if (is_null($this->form_filter)) {
         return false;
     }
     $filterValidation = $this->getFilterValidation();
     $messages = $filterValidation['messages'];
     $this->form_filter->validate([], $messages);
     return $this->form_filter->isValid();
 }