JDatabaseMySQL::getEscaped
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JDatabaseMySQL::getEscaped[edit]
Description[edit]
Get a database escaped string.
Template:Description:JDatabaseMySQL::getEscaped [Edit Descripton]
Synopsis[edit]
public JDatabaseMySQL::getEscaped ($text, $extra=false)
Parameter | Type | Default | Description |
---|---|---|---|
$text | string | The string to be escaped | |
$extra | boolean | false | Optional parameter to provide extra escaping |
Returns[edit]
string
Defined in[edit]
libraries/joomla/database/database/mysql.php (line 170)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Template:SeeAlso:JDatabaseMySQL::getEscaped
Examples[edit]
<CodeExamplesForm />