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