JHtmlList::ordering
Build the select list for Ordering derived from a query
Signature
public function ordering(integer
$name,
[string
$query = null,
[string
$attribs = null,
[string
$selected = null,
[integer
$neworder = null]]]] )
Parameters
-
$name
- The scalar value
-
$query
- The query
-
$attribs
- HTML tag attributes
-
$selected
- The selected item
-
$neworder
- 1 if new and first, -1 if new and last, 0 or null if existing item
Returns
- string
- HTML markup for the select list