API17:JHtmlJGrid::orderUp
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.
JHtmlJGrid::orderUp
Description
Creates a order-up action icon.
Description:JHtmlJGrid::orderUp [Edit Descripton]
Since
Synopsis
public static JHtmlJGrid::orderUp ($i, $task='orderup', $prefix='', $text= 'JLIB_HTML_MOVE_UP', $enabled=true, $checkbox='cb')
| Parameter | Type | Default | Description |
|---|---|---|---|
| $i | integer | The row index. | |
| $task | string | 'orderup' | An optional task to fire. |
| $prefix | array | An optional task prefix or an array of options | |
| $text | string | 'JLIB_HTML_MOVE_UP' | An optional text to display |
| $enabled | boolean | true | An optional setting for access control on the action. |
| $checkbox | string | 'cb' | An optional prefix for checkboxes. |
Returns
string The required HTML.
Defined in
libraries/joomla/html/html/jgrid.php (line 295)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
