API17

Difference between revisions of "JTableNested::saveorder"

From Joomla! Documentation

(Layout updates)
m (→‎See also: moving preparation)
(3 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JTableNested::saveorder|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JTableNested::saveorder|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JTableNested::saveorder ($idArray=null, $lft_array=null)
+
public function saveorder (
 +
        $idArray=null
 +
        $lft_array=null
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 32: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''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
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/database/tablenested.php (line 1374)
 
* see source code in [[jplatform:database/tablenested.php#cl-1374|BitBucket]]
 
===Referenced by===
 
 
===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]]
 +
{{SeeAlso:JTableNested::saveorder}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JTableNested::saveorder|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JTableNested::saveorder|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JTableNested/11.1|JTableNested]]
+
===User contributed notes===
* [[JTableNested::saveorder|Other versions of this method]]
 
{{SeeAlso:JTableNested::saveorder}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 53: Line 52:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JTableNested]][[Category:JTableNested::saveorder]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 21:42, 11 May 2013

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.

Joomla 11.1 JTableNested::saveorder[edit]

Description[edit]

Method to update order of table rows.

Template:Description:JTableNested::saveorder [Edit Descripton]

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 Joomla 11.1

See also[edit]

Template:SeeAlso:JTableNested::saveorder [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />