API17

JHtmlGrid::boolean: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Layout updates
Doxiki2 (talk | contribs)
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>
===Since===
{{JVer|1.0 }}
===Synopsis===
<source lang="php">
<source lang="php">
public static JHtmlGrid::boolean ($i, $value, $taskOn=null, $taskOff=null)
public static function boolean (
        $i
        $value
        $taskOn=null
        $taskOff=null
)
</source>
</source>
{| class="wikitable"
{| class="wikitable"
Line 42: Line 44:
|-
|-
|}
|}
===Returns===
* '''Returns''' string The boolean setting widget.
string The boolean setting widget.
* '''Defined''' on line 34 of libraries/joomla/html/html/grid.php
===Defined in===
* '''Since''' {{JVer|1.0 }}
libraries/joomla/html/html/grid.php (line 34)
* see source code in [[jplatform:html/html/grid.php#cl-34|BitBucket]]
===Referenced by===
===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>
* [[JHtmlGrid/11.1|JHtmlGrid]]
===User contributed notes===
* [[JHtmlGrid::boolean|Other versions of this method]]
{{SeeAlso:JHtmlGrid::boolean}}
===Examples===
<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 02:06, 28 April 2011

Joomla 11.1 JHtmlGrid::boolean

Description

Display a boolean setting widget.

Template: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 Joomla 1.0

See also

Template:SeeAlso:JHtmlGrid::boolean [Edit See Also]

User contributed notes

<CodeExamplesForm />