Actions

API17

JHtmlJGrid::orderUp

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.

Joomla 11.1 JHtmlJGrid::orderUp

Description

Creates a order-up action icon.


public static function 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 on line 295 of libraries/joomla/html/html/jgrid.php
  • Since Joomla 11.1

See also

  • Joomla 11.1 JHtmlJGrid::orderUp source code on BitBucket
  • Joomla 11.1 Class JHtmlJGrid
  • Joomla 11.1 Subpackage Html
  • Other versions of JHtmlJGrid::orderUp


User contributed notes

Code Examples


Advertisement