JDatabase::getInstance
From Joomla! Documentation
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.
JDatabase::getInstance[edit]
Description[edit]
Returns the global Database object, only creating it if it doesn't already exist.
Template:Description:JDatabase::getInstance [Edit Descripton]
Synopsis[edit]
public static JDatabase::getInstance ($options=array())
Parameter | Type | Default | Description |
---|---|---|---|
$options | array() |
Returns[edit]
Defined in[edit]
libraries/joomla/database/database.php (line 182)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Template:SeeAlso:JDatabase::getInstance
Examples[edit]
<CodeExamplesForm />