API17

JDatabase::nameQuote

From Joomla! Documentation

Revision as of 20:26, 27 April 2011 by Doxiki2 (talk | contribs) (Updated to r1448:247ba8d88526)

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JDatabase::nameQuote[edit]

Description[edit]

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

Template: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[edit]

Template:SeeAlso:JDatabase::nameQuote [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />