Difference between revisions of "JDatabase::nameQuote"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (JoomlaWikiBot moved page JDatabase::nameQuote/11.1 to API17:JDatabase::nameQuote without leaving a redirect: Robot: Moved page)
(No difference)

Revision as of 15:42, 10 May 2013

Replacement filing cabinet.png
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.

Joomla 11.1 JDatabase::nameQuote


Wrap an SQL statement identifier name such as field, table or database names in quotes to prevent injection risks and reserved word conflicts.

Description:JDatabase::nameQuote [Edit Descripton]

public function nameQuote ($name)
Parameter Type Default Description
$name string The identifier name to wrap in quotes.
  • Returns string The quote wrapped name.
  • Defined on line 877 of libraries/joomla/database/database.php
  • Since Joomla 11.1

See also

SeeAlso:JDatabase::nameQuote [Edit See Also]

User contributed notes

<CodeExamplesForm />