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