API17:JHtmlList::genericordering
From Joomla! Documentation
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.
JHtmlList::genericordering
Description
Returns an array of options.
Description:JHtmlList::genericordering [Edit Descripton]
Since
Synopsis
public static JHtmlList::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 in
libraries/joomla/html/html/list.php (line 74)
- see source code in BitBucket
Referenced by
See also
SeeAlso:JHtmlList::genericordering
Examples
<CodeExamplesForm />
