english/libraries/joomla/application/component/view.php
/**
	 * Escapes a value for output in a view script.
	 *
	 * If escaping mechanism is either htmlspecialchars or htmlentities, uses
	 * {@link $_encoding} setting.
	 *
	 * @param   mixed The output to escape.
	 * @return  mixed    The escaped value.
	 */
Escapes a value for output in a view script.
If escaping mechanism is either htmlspecialchars or htmlentities, uses
$_encoding setting.

@param   mixed The output to escape.
@return  mixed    The escaped value.
Escapes a value for output in a view script . If escaping mechanism is either htmlspecialchars or htmlentities uses $_encoding setting . @param mixed The output to escape . @return mixed The escaped value .
function escape($var)
	{
		if (in_array($this->_escape, array('htmlspecialchars', 'htmlentities'))) {
			return call_user_func($this->_escape, $var, ENT_COMPAT, $this->_charset);
		}
		return call_user_func($this->_escape, $var);
	}
function escape ( $ var ) { if ( in_array ( $ this -> _escape , array ( 'htmlspecialchars' , 'htmlentities' ) ) ) { return call_user_func ( $ this -> _escape , $ var , ENT_COMPAT , $ this -> _charset ) ; } return call_user_func ( $ this -> _escape , $ var ) ; }
Escapes a value for output in a view script.
Escapes a value for output in a view script .