API16

JTableUsergroup/store

< 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

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


Advertisement