JDatabase::replacePrefix/1.5
From Joomla! Documentation
JDatabase::replacePrefix
Description
This function replaces a string identifier with the string held is the class variable.
Description:JDatabase::replacePrefix [Edit Descripton]
public function replacePrefix ( $sql $prefix='#__' )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $sql | string | The SQL query | |
| $prefix | string | '#__' | The common table prefix |
- Returns
- Defined on line 559 of libraries/joomla/database/database.php
See also
-
JDatabase::replacePrefix on api.joomla.org
-
JDatabase source code on JoomlaCode
-
Class JDatabase
-
Subpackage Database
- Other versions of JDatabase::replacePrefix
SeeAlso:JDatabase::replacePrefix [Edit See Also]
User contributed notes
<CodeExamplesForm />