Actions

API17

Difference between revisions of "JHtmlList::ordering"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JHtmlList::ordering|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JHtmlList::ordering|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JHtmlList::ordering ($name, $query, $attribs=null, $selected=null, $neworder=null, $chop=null)
+
public static function ordering (
 +
        $name
 +
        $query
 +
        $attribs=null
 +
        $selected=null
 +
        $neworder=null
 +
        $chop=null
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 52: Line 56:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' string
string
+
* '''Defined''' on line 143 of libraries/joomla/html/html/list.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/html/html/list.php
+
* '''Referenced by'''
===Referenced by===
+
** [[specificordering/11.1|specificordering]]
* [[specificordering/11.1|specificordering]]
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JHtmlList::ordering source code''' on [[jplatform:html/html/list.php#cl-135|BitBucket]]
 +
* {{JVer|11.1}} Class [[JHtmlList/11.1|JHtmlList]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Html/11.1|Html]]
 +
* [[JHtmlList::ordering|Other versions of JHtmlList::ordering]]
 +
{{SeeAlso:JHtmlList::ordering}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JHtmlList::ordering|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JHtmlList::ordering|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JHtmlList/11.1|JHtmlList]]
+
===User contributed notes===
* [[JHtmlList::ordering|Other versions of this method]]
+
{{SeeAlso:JHtmlList::ordering}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 73: Line 78:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JHtmlList]][[Category:JHtmlList::ordering]]</noinclude>
 
<noinclude>[[Category:JHtmlList]][[Category:JHtmlList::ordering]]</noinclude>

Revision as of 21:07, 27 April 2011

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.

Joomla 11.1 JHtmlList::ordering

Description

Build the select list for Ordering derived from a query.

Description:JHtmlList::ordering [Edit Descripton]

public static function ordering (
        $name
        $query
        $attribs=null
        $selected=null
        $neworder=null
        $chop=null
)
Parameter Type Default Description
$name int $value The scalar value
$query string
$attribs string null HTML tag attributes
$selected int null $neworder 1 if new and first, -1 if new and last, 0 or null if existing item
$neworder string null $prefix An optional prefix for the task
$chop null
  • Returns string
  • Defined on line 143 of libraries/joomla/html/html/list.php
  • Since Joomla 11.1
  • Referenced by

See also

SeeAlso:JHtmlList::ordering [Edit See Also]

User contributed notes

<CodeExamplesForm />