Actions

API17

Difference between revisions of "JHtmlJGrid::action"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 85: Line 85:
 
The Html code
 
The Html code
 
===Defined in===
 
===Defined in===
libraries/joomla/html/html/jgrid.php
+
libraries/joomla/html/html/jgrid.php (line 42)
 +
* see source code in [[jplatform:html/html/jgrid.php#cl-42|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 20:42, 23 April 2011

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.

Joomla 11.1 JHtmlJGrid::action

Description

Returns an action on a grid.

Description:JHtmlJGrid::action [Edit Descripton]

Since

Joomla 11.1

Synopsis

public static JHtmlJGrid::action ($i, $task, $prefix='', $text='', $active_title='', $inactive_title='', $tip=false, $active_class='', $inactive_class='', $enabled=true, $translate=true, $checkbox='cb')
Parameter Type Default Description
$i int The row index
$task string The task to fire
$prefix array An optional task prefix or an array of options
$text string An optional text to display
$active_title string An optional active tooltip to display if $enable is true
$inactive_title string An optional inactive tooltip to display if $enable is true
$tip boolean false An optional setting for tooltip
$active_class string An optional active html class
$inactive_class string An optional inactive html class
$enabled boolean true An optional setting for access control on the action.
$translate boolean true An optional setting for translation.
$checkbox string 'cb' An optional prefix for checkboxes.

Returns

The Html code

Defined in

libraries/joomla/html/html/jgrid.php (line 42)

Referenced by

See also

[Edit See Also]

SeeAlso:JHtmlJGrid::action

Examples

<CodeExamplesForm />