API17:JHtmlGrid::sort
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.
JHtmlGrid::sort
Description
Description:JHtmlGrid::sort [Edit Descripton]
Synopsis
public static JHtmlGrid::sort ($title, $order, $direction= 'asc', $selected=0, $task=NULL, $new_direction='asc')
| Parameter | Type | Default | Description |
|---|---|---|---|
| $title | string | The link title | |
| $order | string | The order field for the column | |
| $direction | string | 'asc' | The current direction |
| $selected | string | 0 | The selected ordering |
| $task | string | NULL | An optional task override |
| $new_direction | string | 'asc' | An optional direction for the new column |
Returns
string
Defined in
libraries/joomla/html/html/grid.php
Referenced by
See also
Examples
<CodeExamplesForm />
