API17

Difference between revisions of "JCategories"

From Joomla! Documentation

(Layout updates)
m (→‎User contributed notes: bad link repair)
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
=={{JVer|11.1}} JCategories==
 +
===Description===
 +
{{Description:JCategories}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JCategories|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JCategories|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{Description:JCategories}}
 
===Defined in===
 
libraries/joomla/application/categories.php
 
* see source code in [[jplatform:application/categories.php|BitBucket]]
 
===Subpackage===
 
[[Subpackage Application/11.1|Application]]
 
===Extends===
 
===Extended by===
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
 +
|public
 
|[[JCategories::__construct/11.1|__construct]]
 
|[[JCategories::__construct/11.1|__construct]]
 
|Class constructor.  
 
|Class constructor.  
 
|-
 
|-
 +
|public
 
|[[JCategories::get/11.1|get]]
 
|[[JCategories::get/11.1|get]]
 
|Loads a specific category and all its children in a  object.  
 
|Loads a specific category and all its children in a  object.  
 
|-
 
|-
 +
|public static
 
|[[JCategories::getInstance/11.1|getInstance]]
 
|[[JCategories::getInstance/11.1|getInstance]]
 
|Returns a reference to a  object.  
 
|Returns a reference to a  object.  
 
|-
 
|-
 +
|protected
 
|[[JCategories::_load/11.1|_load]]
 
|[[JCategories::_load/11.1|_load]]
 
|
 
|
 
|-
 
|-
 
|}
 
|}
 +
* '''Defined in''' libraries/joomla/application/categories.php
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.application.categories' );</source>
 
<source lang="php">jimport( 'joomla.application.categories' );</source>
 
===See also===
 
===See also===
* JCategories source code in [[jplatform:application/categories.php|BitBucket]]
+
* {{JVer|11.1}} '''JCategories source code''' on [[jplatform:application/categories.php|BitBucket]]
* [[JCategories|Other versions of this class]]
+
* {{JVer|11.1}} Subpackage [[Subpackage Application/11.1|Application]]
 +
* [[JCategories|Other versions of JCategories]]
 
{{SeeAlso:JCategories}}
 
{{SeeAlso:JCategories}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JCategories|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JCategories|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Examples===
+
===User contributed notes===
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 47: Line 49:
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JCategories]]</noinclude>
+
<noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JCategories]]</noinclude>

Revision as of 13:32, 29 August 2012

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.

Joomla 11.1 JCategories[edit]

Description[edit]

Template:Description:JCategories [Edit Descripton]

Methods[edit]

Visibility Method name Description
public __construct Class constructor.
public get Loads a specific category and all its children in a object.
public static getInstance Returns a reference to a object.
protected _load
  • Defined in libraries/joomla/application/categories.php

Importing[edit]

jimport( 'joomla.application.categories' );

See also[edit]

Template:SeeAlso:JCategories [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />