Difference between revisions of "JHtmlSelect::optgroup"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JHtmlSelect::optgroup|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JHtmlSelect::optgroup|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public static | + | public static function optgroup ( |
+ | $text | ||
+ | $optKey= 'value' | ||
+ | $optText= 'text' | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 35: | Line 38: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' object | |
− | object | + | * '''Defined''' on line 345 of libraries/joomla/html/html/select.php |
− | |||
− | libraries/joomla/html/html/select.php | ||
− | |||
− | |||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JHtmlSelect::optgroup source code''' on [[jplatform:html/html/select.php#cl-337|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JHtmlSelect/11.1|JHtmlSelect]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Html/11.1|Html]] | ||
+ | * [[JHtmlSelect::optgroup|Other versions of JHtmlSelect::optgroup]] | ||
+ | {{SeeAlso:JHtmlSelect::optgroup}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JHtmlSelect::optgroup|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JHtmlSelect::optgroup|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 56: | Line 57: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JHtmlSelect]][[Category:JHtmlSelect::optgroup]]</noinclude> | <noinclude>[[Category:JHtmlSelect]][[Category:JHtmlSelect::optgroup]]</noinclude> |
Revision as of 21:08, 27 April 2011
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.
JHtmlSelect::optgroup[edit]
Description[edit]
Create a placeholder for an option group.
Template:Description:JHtmlSelect::optgroup [Edit Descripton]
public static function optgroup (
$text
$optKey= 'value'
$optText= 'text'
)
Parameter | Type | Default | Description |
---|---|---|---|
$text | string | The text for the option | |
$optKey | string | 'value' | The returned object property name for the value |
$optText | string | 'text' | The returned object property name for the text |
- Returns object
- Defined on line 345 of libraries/joomla/html/html/select.php
See also[edit]
- JHtmlSelect::optgroup source code on BitBucket
- Class JHtmlSelect
- Subpackage Html
- Other versions of JHtmlSelect::optgroup
Template:SeeAlso:JHtmlSelect::optgroup [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />