API17

JHtmlJGrid::orderUp

From Joomla! Documentation

Revision as of 20:54, 11 May 2013 by JoomlaWikiBot (talk | contribs) (→‎See also: moving preparation)

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[edit]

Description[edit]

Creates a order-up action icon.

Template:Description:JHtmlJGrid::orderUp [Edit Descripton]

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[edit]

Template:SeeAlso:JHtmlJGrid::orderUp [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />