API17:JHtmlGrid::boolean
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JHtmlGrid::boolean|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JHtmlGrid::boolean|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public static | + | public static function boolean ( |
| + | $i | ||
| + | $value | ||
| + | $taskOn=null | ||
| + | $taskOff=null | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 42: | Line 44: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' string The boolean setting widget. | |
| − | string The boolean setting widget. | + | * '''Defined''' on line 34 of libraries/joomla/html/html/grid.php |
| − | + | * '''Since''' {{JVer|1.0 }} | |
| − | libraries/joomla/html/html/grid.php | + | |
| − | * | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JHtmlGrid::boolean source code''' on [[jplatform:html/html/grid.php#cl-26|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JHtmlGrid/11.1|JHtmlGrid]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Html/11.1|Html]] | ||
| + | * [[JHtmlGrid::boolean|Other versions of JHtmlGrid::boolean]] | ||
| + | {{SeeAlso:JHtmlGrid::boolean}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JHtmlGrid::boolean|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JHtmlGrid::boolean|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 63: | Line 64: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JHtmlGrid]][[Category:JHtmlGrid::boolean]]</noinclude> | <noinclude>[[Category:JHtmlGrid]][[Category:JHtmlGrid::boolean]]</noinclude> | ||
Revision as of 21:06, 27 April 2011
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.
JHtmlGrid::boolean
Description
Display a boolean setting widget.
Description:JHtmlGrid::boolean [Edit Descripton]
public static function boolean ( $i $value $taskOn=null $taskOff=null )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $i | integer | The row index. | |
| $value | integer | The value of the boolean field. | |
| $taskOn | string | null | Task to turn the boolean setting on. |
| $taskOff | string | null | Task to turn the boolean setting off. |
- Returns string The boolean setting widget.
- Defined on line 34 of libraries/joomla/html/html/grid.php
- Since
See also
-
JHtmlGrid::boolean source code on BitBucket
-
Class JHtmlGrid
-
Subpackage Html
- Other versions of JHtmlGrid::boolean
SeeAlso:JHtmlGrid::boolean [Edit See Also]
User contributed notes
<CodeExamplesForm />
