From Joomla! Documentation

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


Build the select list for Ordering derived from a query.

public static function ordering (
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 on line 143 of libraries/joomla/html/html/list.php
  • Since Joomla 11.1
  • Referenced by

See also

  • Joomla 11.1 JHtmlList::ordering source code on BitBucket
  • Joomla 11.1 Class JHtmlList
  • Joomla 11.1 Subpackage Html
  • Other versions of JHtmlList::ordering

User contributed notes

Code Examples