Exemplo n.º 1
0
 /**
  * Validate the form
  *
  * @param array $dirty reference to unverified $_POST
  * @return bool
  */
 function formValidate(&$dirty)
 {
     if (empty($dirty['action'])) {
         return false;
     }
     $action = filter_var($dirty['action'], FILTER_SANITIZE_STRING);
     return suxValidate::formValidate($dirty, $this->tpl, $action);
 }
Exemplo n.º 2
0
 /**
  * Validate the form
  *
  * @param array $dirty reference to unverified $_POST
  * @return bool
  */
 function formValidate(&$dirty)
 {
     return suxValidate::formValidate($dirty, $this->tpl);
 }