API17:JHtmlList::ordering
From Joomla! Documentation
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