Difference between revisions of "JHtmlJGrid::state"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (→See also: moving preparation) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 67: | Line 67: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JHtmlJGrid::state source code''' on [[jplatform:html/html/jgrid.php#cl-76|BitBucket]] | * {{JVer|11.1}} '''JHtmlJGrid::state source code''' on [[jplatform:html/html/jgrid.php#cl-76|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JHtmlJGrid | + | * {{JVer|11.1}} Class [[API17:JHtmlJGrid|JHtmlJGrid]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Html | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Html|Html]] |
− | * [[JHtmlJGrid::state|Other versions of JHtmlJGrid::state]] | + | * [[API17:JHtmlJGrid::state|Other versions of JHtmlJGrid::state]] |
{{SeeAlso:JHtmlJGrid::state}} | {{SeeAlso:JHtmlJGrid::state}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
Line 85: | Line 85: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Revision as of 20:54, 11 May 2013
The "API17" 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.
JHtmlJGrid::state[edit]
Description[edit]
Returns a state on a grid.
Template:Description:JHtmlJGrid::state [Edit Descripton]
public static function state (
$states
$value
$i
$prefix= ''
$enabled=true
$translate=true
$checkbox='cb'
)
Parameter | Type | Default | Description |
---|---|---|---|
$states | array | array of value/state. Each state is an array of the form (task, text, title,html active class, html inactive class) or ('task'=>task, 'text'=>text, 'active_title'=>active title, 'inactive_title'=>inactive title, 'tip'=>boolean, 'active_class'=>html active class, 'inactive_class'=>html inactive class) | |
$value | int | The state value. | |
$i | int | The row index | |
$prefix | array | An optional task prefix or an array of options | |
$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. |
See also[edit]
- JHtmlJGrid::state source code on BitBucket
- Class JHtmlJGrid
- Subpackage Html
- Other versions of JHtmlJGrid::state
Template:SeeAlso:JHtmlJGrid::state [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />