API17:JHtmlSelect::optgroup
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
| (One intermediate revision by one user not shown) | |||
| 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 55: | 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
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.
JHtmlSelect::optgroup
Description
Create a placeholder for an option group.
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
-
JHtmlSelect::optgroup source code on BitBucket
-
Class JHtmlSelect
-
Subpackage Html
- Other versions of JHtmlSelect::optgroup
SeeAlso:JHtmlSelect::optgroup [Edit See Also]
User contributed notes
<CodeExamplesForm />
