Actions

API17

Difference between revisions of "JCategories"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (moving preparation)
 
(5 intermediate revisions by 2 users 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
 
===Subpackage===
 
[[Subpackage Application/11.1|Application]]
 
===Extends===
 
===Extended by===
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
|[[JCategories::__construct/11.1|__construct]]
+
|public
 +
|[[API17:JCategories::__construct|__construct]]
 
|Class constructor.  
 
|Class constructor.  
 
|-
 
|-
|[[JCategories::get/11.1|get]]
+
|public
 +
|[[API17:JCategories::get|get]]
 
|Loads a specific category and all its children in a  object.  
 
|Loads a specific category and all its children in a  object.  
 
|-
 
|-
|[[JCategories::getInstance/11.1|getInstance]]
+
|public static
 +
|[[API17:JCategories::getInstance|getInstance]]
 
|Returns a reference to a  object.  
 
|Returns a reference to a  object.  
 
|-
 
|-
|[[JCategories::_load/11.1|_load]]
+
|protected
 +
|[[API17:JCategories::_load|_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|Other versions of this class]]
+
* {{JVer|11.1}} '''JCategories source code''' on [[jplatform:application/categories.php|BitBucket]]
 +
* {{JVer|11.1}} Subpackage [[API17:Subpackage Application|Application]]
 +
* [[API17: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 45: 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 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 19:55, 11 May 2013

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 JCategories

Description

Description:JCategories [Edit Descripton]

Methods

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

jimport( 'joomla.application.categories' );

See also

SeeAlso:JCategories [Edit See Also]

User contributed notes

<CodeExamplesForm />