JTableUpdate/ construct: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
===Syntax=== | ===Syntax=== | ||
| Line 33: | Line 33: | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=__construct | category=__construct | ||
category=JTableUpdate | category=JTableUpdate | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
Latest revision as of 02:12, 25 March 2017
Description
Contructor
Syntax
__construct(&$db)
| Parameter Name | Default Value | Description |
|---|---|---|
| &$db | A database connector object |
Defined in
libraries/joomla/database/table/update.php
Importing
jimport( 'joomla.database.table.update' );
Source Body
function __construct( &$db ) {
parent::__construct( '#__updates', 'update_id', $db );
}
Examples
Code Examples