JHTMLGrid/order
From Joomla! Documentation
< API15:JHTMLGridRevision as of 17:21, 22 March 2010 by Doxiki (talk | contribs) (New page:
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JHTMLGrid/order}}
===...)
Revision as of 17:21, 22 March 2010 by Doxiki (talk | contribs) (New page:
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JHTMLGrid/order}}
===...)
The "API15" 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.
Template:Description:JHTMLGrid/order
Syntax[edit]
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]
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] Template:SeeAlso:JHTMLGrid/order
Examples[edit]
<CodeExamplesForm />