Difference between revisions of "JTableNested::saveorder"
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 update order of table rows. | Method to update order of table rows. | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function saveorder ( |
+ | $idArray=null | ||
+ | $lft_array=null | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 32: | Line 30: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' integer 1 + value of root rgt on success, false on failure | |
− | integer 1 + value of root rgt on success, false on failure | + | * '''Defined''' on line 1412 of libraries/joomla/database/tablenested.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/database/tablenested.php | ||
− | |||
===See also=== | ===See also=== | ||
− | + | * {{JVer|11.1}} '''JTableNested::saveorder source code''' on [[jplatform:database/tablenested.php#cl-1404|BitBucket]] | |
− | + | * {{JVer|11.1}} Class [[API17:JTableNested|JTableNested]] | |
− | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | |
− | * | + | * [[API17:JTableNested::saveorder|Other versions of JTableNested::saveorder]] |
− | * [[JTableNested::saveorder|Other versions of | + | |
− | + | ||
− | ===Examples=== | + | ===User contributed notes=== |
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JTableNested::saveorder | category=JTableNested::saveorder | ||
− | + | 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:50, 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.
JTableNested::saveorder[edit]
Description[edit]
Method to update order of table rows.
public function saveorder (
$idArray=null
$lft_array=null
)
Parameter | Type | Default | Description |
---|---|---|---|
$idArray | array | null | id's of rows to be reordered |
$lft_array | array | null | lft values of rows to be reordered |
- Returns integer 1 + value of root rgt on success, false on failure
- Defined on line 1412 of libraries/joomla/database/tablenested.php
- Since
See also[edit]
- JTableNested::saveorder source code on BitBucket
- Class JTableNested
- Subpackage Database
- Other versions of JTableNested::saveorder
User contributed notes[edit]
Code Examples[edit]