JDatabaseDriver::replacePrefix
This function replaces a string identifier <var>$prefix</var> with the string held is the <var>tablePrefix</var> class variable.
Signature
public function replacePrefix(string
$sql,
[string
$prefix = '#__'] )
Parameters
-
$sql
- The SQL statement to prepare.
-
$prefix
- The common table prefix.
Returns
- string
- The processed SQL statement.