1.5 Template Project

The Joomla! Documentation Working Group is running a project to develop detailed reference and tutorial material on Joomla! 1.5 templates.  There is a project page on the documentation wiki where you can see the work in progress and help us by contributing your knowledge.

Who's Online

We have 22 guests online

Help Site License

The Joomla! Help Site content is copyright © 2005 - 2008 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution NonCommercial ShareAlike 2.5. Some parts of this website may be subject to other licenses.
Home arrow Developer Manual arrow 11. API Reference arrow [REVIEW] database->NameQuote

[REVIEW] database->NameQuote PDF Print E-mail

Last reviewed: Not reviewed
phpDocumentor

database->NameQuote

Quotes an identifier such as a database table name, field name, etc., using database-specific quote marks.  This method was introduced in Joomla 1.1.

Syntax

string NameQuote ( string $name )

$name
is a string to be quoted using the database-specific quotes.

Examples

Example:

global $database;
 
echo $database->NameQuote( 'myTable' );

might produce:

`myTable`
 

Please report any errors on this page to the Developer Documentation Forum.

Last Updated ( Monday, 25 December 2006 )
 
< Prev   Next >