API16

JTableUsergroup/store

From Joomla! Documentation

< API16:JTableUsergroup
Revision as of 17:43, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Inserts a new row if id is zero or updates an existing row in the database table <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>[[Description:JT...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

[Edit Descripton]

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 />