API17:JDatabaseMySQLi::getEscaped
From Joomla! Documentation
JDatabaseMySQLi::getEscaped
Description
Method to escape a string for usage in an SQL statement.
public function getEscaped (
$text
$extra=false
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $text | string | The string to be escaped. | |
| $extra | bool | false | Optional parameter to provide extra escaping. |
- Returns string The escaped string.
- Defined on line 226 of libraries/joomla/database/database/mysqli.php
- Since

See also
JDatabaseMySQLi::getEscaped source code on BitBucket
Class JDatabaseMySQLi
Subpackage Database- Other versions of JDatabaseMySQLi::getEscaped
User contributed notes
Code Examples