API17

JHtmlList::ordering

From Joomla! Documentation

Revision as of 22:13, 24 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.


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


User contributed notes[edit]

Code Examples[edit]