JDatabase/getConnection: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 30: | Line 30: | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=getConnection | category=getConnection | ||
category=JDatabase | category=JDatabase | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 01:26, 25 March 2017
Description
Get the connection
<! removed transcluded page call, red link never existed >
Syntax
getConnection()
Returns
resource
Defined in
libraries/joomla/database/database.php
Importing
jimport( 'joomla.database.database' );
Source Body
public function getConnection()
{
return $this->_connection;
}
<! removed transcluded page call, red link never existed >
Examples
Code Examples