english/libraries/joomla/database/database/mysqli.php
/**
	 * Method to escape a string for usage in an SQL statement.
	 *
	 * @param   string  $text   The string to be escaped.
	 * @param   bool    $extra  Optional parameter to provide extra escaping.
	 *
	 * @return  string  The escaped string.
	 *
	 * @since   11.1
	 */
Method to escape a string for usage in an SQL statement.
@param   string  $text   The string to be escaped.
@param   bool    $extra  Optional parameter to provide extra escaping.

@return  string  The escaped string.


Method to escape a string for usage in an SQL statement . @param string $text The string to be escaped . @param bool $extra Optional parameter to provide extra escaping . @return string The escaped string .
public function escape($text, $extra = false)
	{
		$result = mysqli_real_escape_string($this->getConnection(), $text);
		if ($extra) {
			$result = addcslashes($result, '%_');
		}
		return $result;
	}
public function escape ( $ text , $ extra = false ) { $ result = mysqli_real_escape_string ( $ this -> getConnection ( ) , $ text ) ; if ( $ extra ) { $ result = addcslashes ( $ result , '%_' ) ; } return $ result ; }
Method to escape a string for usage in an SQL statement.
Method to escape a string for usage in an SQL statement .