Actions

API17

Difference between revisions of "JHtmlGrid::boolean"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by one user not shown)
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
+
===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 62: 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

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

See also

SeeAlso:JHtmlGrid::boolean [Edit See Also]

User contributed notes

<CodeExamplesForm />