API17:JDatabase::quote
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::quote
Description
Get a quoted database escaped string.
Description:JDatabase::quote [Edit Descripton]
Synopsis
public JDatabase::quote ($text, $escaped=true)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $text | string | A string | |
| $escaped | boolean | true | Default true to escape string, false to leave the string unchanged |
Returns
string
Defined in
libraries/joomla/database/database.php (line 814)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
