Actions

API17

Difference between revisions of "JHtmlCategory::options"

From Joomla! Documentation

(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>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JHtmlCategory::options ($extension, $config=array('filter.published'=> array(0, 1)))
+
public static function options (
 +
        $extension
 +
        $config=array('filter.published'=> array(0
 +
        1
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 30: Line 33:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' array
array
+
* '''Defined''' on line 36 of libraries/joomla/html/html/category.php
===Defined in===
+
libraries/joomla/html/html/category.php (line 36)
+
* see source code in [[jplatform:html/html/category.php#cl-36|BitBucket]]
+
===Referenced by===
+
 
===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>
* [[JHtmlCategory/11.1|JHtmlCategory]]
+
===User contributed notes===
* [[JHtmlCategory::options|Other versions of this method]]
+
{{SeeAlso:JHtmlCategory::options}}
+
===Examples===
+
 
<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

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

SeeAlso:JHtmlCategory::options [Edit See Also]

User contributed notes

<CodeExamplesForm />