API16:JTableUsergroup/store
From Joomla! Documentation
Description
Inserts a new row if id is zero or updates an existing row in the database table
Syntax
store($updateNulls=false)
| Parameter Name | Default Value | Description |
|---|---|---|
| $updateNulls | false | If false, null object variables are not updated |
Returns
boolean True successful, false otherwise and an internal error message is set`
Defined in
libraries/joomla/database/table/usergroup.php
Importing
jimport( 'joomla.database.table.usergroup' );
Source Body
function store($updateNulls = false)
{
if ($result = parent::store($updateNulls))
{
// Rebuild the nested set tree.
$this->rebuild();
}
return $result;
}
Examples
Code Examples