Difference between revisions of "JHtmlGrid::sort"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JHtmlGrid::sort|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JHtmlGrid::sort|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public static | + | public static function sort ( |
+ | $title | ||
+ | $order | ||
+ | $direction= 'asc' | ||
+ | $selected=0 | ||
+ | $task=NULL | ||
+ | $new_direction='asc' | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 50: | Line 56: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' string | |
− | string | + | * '''Defined''' on line 68 of libraries/joomla/html/html/grid.php |
− | |||
− | libraries/joomla/html/html/grid.php | ||
− | |||
− | |||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JHtmlGrid::sort source code''' on [[jplatform:html/html/grid.php#cl-60|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JHtmlGrid/11.1|JHtmlGrid]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Html/11.1|Html]] | ||
+ | * [[JHtmlGrid::sort|Other versions of JHtmlGrid::sort]] | ||
+ | {{SeeAlso:JHtmlGrid::sort}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JHtmlGrid::sort|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JHtmlGrid::sort|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 71: | Line 75: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JHtmlGrid]][[Category:JHtmlGrid::sort]]</noinclude> | <noinclude>[[Category:JHtmlGrid]][[Category:JHtmlGrid::sort]]</noinclude> |
Revision as of 21:06, 27 April 2011
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 />