Example #1
0
 protected function _escapeHtml(&$vars)
 {
     foreach ($vars as $key => &$var) {
         if (is_array($var)) {
             $this->_escapeHtml($var);
         } elseif (!is_object($var)) {
             $var = Dura::escapeHtml($var);
         }
     }
 }