Actions

API17

JHtmlList::ordering

From Joomla! Documentation

Replacement filing cabinet.png
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.

Joomla 11.1 JHtmlList::ordering

Description

Build the select list for Ordering derived from a query.

Description:JHtmlList::ordering [Edit Descripton]

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
  • 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

SeeAlso:JHtmlList::ordering [Edit See Also]

User contributed notes

<CodeExamplesForm />