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