JHtmlGrid/order
From Joomla! Documentation
< API16:JHtmlGrid
The "API16" 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.
<! removed transcluded page call, red link never existed >
Syntax[edit]
static order($rows, $image= 'filesave.png', $task= 'saveorder')
Parameter Name | Default Value | Description |
---|---|---|
$rows | ||
$image | 'filesave.png' | |
$task | 'saveorder' |
Defined in[edit]
libraries/joomla/html/html/grid.php
Importing[edit]
jimport( 'joomla.html.html.grid' );
Source Body[edit]
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 transcluded page call, red link never existed >
Examples[edit]
Code Examples[edit]