Example #1
0
 public function __construct()
 {
     $this->template = new frontend_model_template();
     if (http_request::isGet('http_error')) {
         $this->http_error = form_inputFilter::isAlphaNumeric($_GET['http_error']);
     }
 }
Example #2
0
 /**
  * Combine function trimText and isPostAlphaNumeric for input
  * @param string $str
  *
  * @return string
  */
 public static function alphaNumeric($str)
 {
     return filter_escapeHtml::trim(form_inputFilter::isAlphaNumeric($str));
 }