API17

API17:JDatabase::replacePrefix

From Joomla! Documentation

Joomla 11.1 JDatabase::replacePrefix

Description

This function replaces a string identifier with the string held is the class variable.


protected function replacePrefix (
        $sql
        $prefix='#__'
)
Parameter Type Default Description
$sql string The SQL statement to prepare.
$prefix string '#__' The common table prefix.
  • Returns string The processed SQL statement.
  • Defined on line 1022 of libraries/joomla/database/database.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples