API17

JHtmlList::ordering

From Joomla! Documentation

Revision as of 20:42, 23 April 2011 by Doxiki2 (talk | contribs) (Layout updates)

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JHtmlList::ordering[edit]

Description[edit]

Build the select list for Ordering derived from a query.

Template:Description:JHtmlList::ordering [Edit Descripton]

Since[edit]

Joomla 11.1

Synopsis[edit]

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[edit]

string

Defined in[edit]

libraries/joomla/html/html/list.php (line 143)

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JHtmlList::ordering

Examples[edit]

<CodeExamplesForm />