API17:JDatabase::getEscaped
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JDatabase::getEscaped
Description
Method to escape a string for usage in an SQL statement.
Description:JDatabase::getEscaped [Edit Descripton]
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 1153 of libraries/joomla/database/database.php
- Since
See also
-
JDatabase::getEscaped source code on BitBucket
-
Class JDatabase
-
Subpackage Database
- Other versions of JDatabase::getEscaped
SeeAlso:JDatabase::getEscaped [Edit See Also]
User contributed notes
<CodeExamplesForm />
