API17:JHtmlCategory::options
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JHtmlCategory::options|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JHtmlCategory::options|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public static | + | public static function options ( |
| + | $extension | ||
| + | $config=array('filter.published'=> array(0 | ||
| + | 1 | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 30: | Line 33: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' array | |
| − | array | + | * '''Defined''' on line 36 of libraries/joomla/html/html/category.php |
| − | + | ||
| − | libraries/joomla/html/html/category.php | + | |
| − | + | ||
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JHtmlCategory::options source code''' on [[jplatform:html/html/category.php#cl-28|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JHtmlCategory/11.1|JHtmlCategory]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Html/11.1|Html]] | ||
| + | * [[JHtmlCategory::options|Other versions of JHtmlCategory::options]] | ||
| + | {{SeeAlso:JHtmlCategory::options}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JHtmlCategory::options|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JHtmlCategory::options|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 51: | Line 52: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JHtmlCategory]][[Category:JHtmlCategory::options]]</noinclude> | <noinclude>[[Category:JHtmlCategory]][[Category:JHtmlCategory::options]]</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.
JHtmlCategory::options
Description
Returns an array of categories for the given extension.
Description:JHtmlCategory::options [Edit Descripton]
public static function options ( $extension $config=array('filter.published'=> array(0 1 )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $extension | string | The extension option. | |
| $config | array | array('filter.published'=> array(0, 1)) | An array of configuration options. By default, only published and unpulbished categories are returned. |
- Returns array
- Defined on line 36 of libraries/joomla/html/html/category.php
See also
-
JHtmlCategory::options source code on BitBucket
-
Class JHtmlCategory
-
Subpackage Html
- Other versions of JHtmlCategory::options
SeeAlso:JHtmlCategory::options [Edit See Also]
User contributed notes
<CodeExamplesForm />
