JHtmlGrid::sort
From Joomla! Documentation
Revision as of 18:44, 10 May 2013 by JoomlaWikiBot (talk | contribs) (JoomlaWikiBot moved page JHtmlGrid::sort/11.1 to API17:JHtmlGrid::sort without leaving a redirect: Robot: Moved page)
Revision as of 18:44, 10 May 2013 by JoomlaWikiBot (talk | contribs) (JoomlaWikiBot moved page JHtmlGrid::sort/11.1 to API17:JHtmlGrid::sort without leaving a redirect: Robot: Moved page)
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.
JHtmlGrid::sort[edit]
Description[edit]
Template:Description:JHtmlGrid::sort [Edit Descripton]
public static function 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 on line 68 of libraries/joomla/html/html/grid.php
See also[edit]
- JHtmlGrid::sort source code on BitBucket
- Class JHtmlGrid
- Subpackage Html
- Other versions of JHtmlGrid::sort
Template:SeeAlso:JHtmlGrid::sort [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />