Actions

API15

Difference between revisions of "JHTMLGrid/order"

From Joomla! Documentation

< API15:JHTMLGrid
(New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JHTMLGrid/order}} ===...)
 
m (Examples: adding categories)
 
Line 59: Line 59:
 
  format= ,,,
 
  format= ,,,
 
</dpl>
 
</dpl>
 +
 +
[[Category:Archived pages API15]][[Category:Security mod error page]]

Latest revision as of 20:49, 12 May 2013

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.

[Edit Descripton]

Description:JHTMLGrid/order

Contents

Syntax

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

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

[Edit See Also] SeeAlso:JHTMLGrid/order

Examples

<CodeExamplesForm />