Difference between revisions of "JTableUsergroup::rebuild"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
m (preparing for archive only) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
Method to recursively rebuild the nested set tree. | Method to recursively rebuild the nested set tree. | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function rebuild ( |
+ | $parent_id=0 | ||
+ | $left=0 | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 32: | Line 30: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' boolean True on success | |
− | boolean True on success | + | * '''Defined''' on line 78 of libraries/joomla/database/table/usergroup.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/database/table/usergroup.php | ||
− | |||
===See also=== | ===See also=== | ||
− | + | * {{JVer|11.1}} '''JTableUsergroup::rebuild source code''' on [[jplatform:database/table/usergroup.php#cl-70|BitBucket]] | |
− | + | * {{JVer|11.1}} Class [[API17:JTableUsergroup|JTableUsergroup]] | |
− | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | |
− | * | + | * [[API17:JTableUsergroup::rebuild|Other versions of JTableUsergroup::rebuild]] |
− | * [[JTableUsergroup::rebuild|Other versions of | + | |
− | + | ||
− | ===Examples=== | + | ===User contributed notes=== |
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JTableUsergroup::rebuild | category=JTableUsergroup::rebuild | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:51, 24 March 2017
The "API17" 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.
JTableUsergroup::rebuild[edit]
Description[edit]
Method to recursively rebuild the nested set tree.
public function rebuild (
$parent_id=0
$left=0
)
Parameter | Type | Default | Description |
---|---|---|---|
$parent_id | integer | 0 | The root of the tree to rebuild. |
$left | integer | 0 | The left id to start with in building the tree. |
- Returns boolean True on success
- Defined on line 78 of libraries/joomla/database/table/usergroup.php
- Since
See also[edit]
- JTableUsergroup::rebuild source code on BitBucket
- Class JTableUsergroup
- Subpackage Database
- Other versions of JTableUsergroup::rebuild
User contributed notes[edit]
Code Examples[edit]