JTableUsergroup/store
From Joomla! Documentation
< API16:JTableUsergroup
The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
Description[edit]
Inserts a new row if id is zero or updates an existing row in the database table
Syntax[edit]
store($updateNulls=false)
Parameter Name | Default Value | Description |
---|---|---|
$updateNulls | false | If false, null object variables are not updated |
Returns[edit]
boolean True successful, false otherwise and an internal error message is set`
Defined in[edit]
libraries/joomla/database/table/usergroup.php
Importing[edit]
jimport( 'joomla.database.table.usergroup' );
Source Body[edit]
function store($updateNulls = false)
{
if ($result = parent::store($updateNulls))
{
// Rebuild the nested set tree.
$this->rebuild();
}
return $result;
}
Examples[edit]
Code Examples[edit]