JTableUsergroup/store
From Joomla! Documentation
< API16:JTableUsergroup
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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
Template:Description:JTableUsergroup/store
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;
}
[Edit See Also] Template:SeeAlso:JTableUsergroup/store
Examples[edit]
<CodeExamplesForm />