Actions

API16

JHtmlGrid/order

From Joomla! Documentation

< API16:JHtmlGrid
Replacement filing cabinet.png
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.

[<! removed edit link to red link >]

<! removed transcluded page call, red link never existed >

Contents

Syntax

static order($rows, $image= 'filesave.png', $task= 'saveorder')
Parameter Name Default Value Description
$rows
$image 'filesave.png'
$task 'saveorder'

Defined in

libraries/joomla/html/html/grid.php

Importing

jimport( 'joomla.html.html.grid' );

Source Body

public static function order($rows, $image = 'filesave.png', $task = 'saveorder')
{
        $image = JHTML::_('image','admin/'.$image, JText::_('SAVE_ORDER'), NULL, true);
        $href = '<a href="javascript:saveorder('.(count($rows)-1).', \''.$task.'\')" title="'.JText::_('SAVE_ORDER').'">'.$image.'</a>';
        return $href;
}

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples

<CodeExamplesForm />