Difference between revisions of "JDatabase::getConnection"
From Joomla! Documentation
m (JoomlaWikiBot moved page JDatabase::getConnection/11.1 to API17:JDatabase::getConnection without leaving a redirect: Robot: Moved page) |
m (preparing for archive only) |
||
(3 intermediate revisions by the same user not shown) | |||
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"> | ||
public function getConnection () | public function getConnection () | ||
Line 15: | Line 13: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JDatabase::getConnection source code''' on [[jplatform:database/database.php#cl-399|BitBucket]] | * {{JVer|11.1}} '''JDatabase::getConnection source code''' on [[jplatform:database/database.php#cl-399|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JDatabase | + | * {{JVer|11.1}} Class [[API17:JDatabase|JDatabase]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Database | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] |
− | * [[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=* | ||
Line 33: | Line 29: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 21:33, 24 March 2017
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::getConnection[edit]
Description[edit]
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[edit]
- JDatabase::getConnection source code on BitBucket
- Class JDatabase
- Subpackage Database
- Other versions of JDatabase::getConnection
User contributed notes[edit]
Code Examples[edit]