JHtmlList::ordering: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
Build the select list for Ordering derived from a query. | Build the select list for Ordering derived from a query. | ||
<source lang="php"> | <source lang="php"> | ||
| Line 64: | Line 64: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Html|Html]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Html|Html]] | ||
* [[API17:JHtmlList::ordering|Other versions of JHtmlList::ordering]] | * [[API17:JHtmlList::ordering|Other versions of JHtmlList::ordering]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JHtmlList::ordering | category=JHtmlList::ordering | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 03:13, 25 March 2017
JHtmlList::ordering
Description
Build the select list for Ordering derived from a query.
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 |
See also
JHtmlList::ordering source code on BitBucket
Class JHtmlList
Subpackage Html- Other versions of JHtmlList::ordering
User contributed notes
Code Examples