JDatabase::getConnection: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
Method that provides access to the underlying database connection. | Method that provides access to the underlying database connection. | ||
<source lang="php"> | <source lang="php"> | ||
| Line 16: | Line 16: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | ||
* [[API17:JDatabase::getConnection|Other versions of JDatabase::getConnection]] | * [[API17:JDatabase::getConnection|Other versions of JDatabase::getConnection]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabase::getConnection | category=JDatabase::getConnection | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 02:33, 25 March 2017
JDatabase::getConnection
Description
Method that provides access to the underlying database connection.
public function getConnection ()
- Returns
- Defined on line 407 of libraries/joomla/database/database.php
See also
JDatabase::getConnection source code on BitBucket
Class JDatabase
Subpackage Database- Other versions of JDatabase::getConnection
User contributed notes
Code Examples