Actions

API16

JTableUsergroup/store

From Joomla! Documentation

< API16:JTableUsergroup
Revision as of 17:43, 22 March 2010 by Doxiki (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Contents

Description

Inserts a new row if id is zero or updates an existing row in the database table

[Edit Descripton]

Description:JTableUsergroup/store

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;
}

[Edit See Also] SeeAlso:JTableUsergroup/store

Examples

<CodeExamplesForm />