API17:JHtmlList::ordering
From Joomla! Documentation
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.
JHtmlList::ordering
Description
Build the select list for Ordering derived from a query.
Description:JHtmlList::ordering [Edit Descripton]
Since
Synopsis
public static JHtmlList::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 in
libraries/joomla/html/html/list.php (line 143)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
