JTableMenu/ construct: Difference between revisions
From Joomla! Documentation
m removing red link to edit, no existant pages |
m preparing for archive only |
||
| Line 40: | Line 40: | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=__construct | category=__construct | ||
category=JTableMenu | category=JTableMenu | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 01:11, 25 March 2017
Description
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
__construct(&$db)
| Parameter Name | Default Value | Description |
|---|---|---|
| &$db | A database connector object |
Defined in
libraries/joomla/database/table/menu.php
Importing
jimport( 'joomla.database.table.menu' );
Source Body
function __construct( &$db ) {
parent::__construct( '#__menu', 'id', $db );
}
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
Code Examples