JTableContent/ construct: Difference between revisions
From Joomla! Documentation
New page:
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JTableContent/... |
No edit summary |
||
Line 15: | Line 15: | ||
!Description | !Description | ||
|- | |- | ||
| | | &$db | ||
| | | | ||
| A database connector object | | A database connector object |
Revision as of 10:05, 30 March 2010
Template:Description:JTableContent/ construct
Syntax
__construct(&$db)
Parameter Name | Default Value | Description |
---|---|---|
&$db | A database connector object |
Defined in
libraries/joomla/database/table/content.php
Importing
jimport( 'joomla.database.table.content' );
Source Body
function __construct(&$db)
{
parent::__construct('#__content', 'id', $db);
}
[Edit See Also] Template:SeeAlso:JTableContent/ construct
Examples
<CodeExamplesForm />