JTableUsergroup/ construct: Difference between revisions
From Joomla! Documentation
No edit summary |
m preparing for archive only |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
Constructor | Constructor | ||
===Syntax=== | ===Syntax=== | ||
Line 38: | Line 36: | ||
</source> | </source> | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=__construct | category=__construct | ||
category=JTableUsergroup | category=JTableUsergroup | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> |
Latest revision as of 02:12, 25 March 2017
Description
Constructor
Syntax
__construct(&$db)
Parameter Name | Default Value | Description |
---|---|---|
&$db | Database object |
Returns
void
Defined in
libraries/joomla/database/table/usergroup.php
Importing
jimport( 'joomla.database.table.usergroup' );
Source Body
function __construct(&$db)
{
parent::__construct('#__usergroups', 'id', $db);
}
Examples
Code Examples