API17:JHtmlList::genericordering
From Joomla! Documentation
JHtmlList::genericordering
Description
Returns an array of options.
public static function genericordering (
$sql
$chop= '30'
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $sql | string | SQL with ordering As value and 'name field' AS text | |
| $chop | integer | '30' | The length of the truncated headline |
- Returns array An array of objects formatted for list processing
- Defined on line 74 of libraries/joomla/html/html/list.php
- Since

See also
JHtmlList::genericordering source code on BitBucket
Class JHtmlList
Subpackage Html- Other versions of JHtmlList::genericordering
User contributed notes
Code Examples