JTable/getDbo: Difference between revisions
From Joomla! Documentation
New page: ===Description===
Method to get the JDatabase connector object.
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowik... |
m preparing for archive only |
||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
Method to get the JDatabase connector object. | Method to get the JDatabase connector object. | ||
===Syntax=== | ===Syntax=== | ||
| Line 28: | Line 26: | ||
</source> | </source> | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=getDbo | category=getDbo | ||
category=JTable | category=JTable | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
Latest revision as of 02:09, 25 March 2017
Description
Method to get the JDatabase connector object.
Syntax
getDbo()
Returns
object The internal database connector object.
Defined in
libraries/joomla/database/table.php
Importing
jimport( 'joomla.database.table' );
Source Body
public function getDbo()
{
return $this->_db;
}
Examples
Code Examples