API17

Difference between revisions of "JCategories::get"

From Joomla! Documentation

m (→‎User contributed notes: moving preparation)
m (preparing for archive only)
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
Loads a specific category and all its children in a  object.  
 
Loads a specific category and all its children in a  object.  
  
{{Description:JCategories::get}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JCategories::get|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<source lang="php">
 
<source lang="php">
 
public function get (
 
public function get (
Line 37: Line 35:
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JCategories::get source code''' on [[jplatform:application/categories.php#cl-140|BitBucket]]
 
* {{JVer|11.1}} '''JCategories::get source code''' on [[jplatform:application/categories.php#cl-140|BitBucket]]
* {{JVer|11.1}} Class [[JCategories/11.1|JCategories]]
+
* {{JVer|11.1}} Class [[API17:JCategories|JCategories]]
* {{JVer|11.1}} Subpackage [[Subpackage_Application/11.1|Application]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]]
* [[JCategories::get|Other versions of JCategories::get]]
+
* [[API17:JCategories::get|Other versions of JCategories::get]]
{{SeeAlso:JCategories::get}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JCategories::get|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JCategories::get
 
category=JCategories::get
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*

Latest revision as of 21:28, 24 March 2017

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::get[edit]

Description[edit]

Loads a specific category and all its children in a object.


public function get (
        $id= 'root'
        $forceload=false
)
Parameter Type Default Description
$id $id 'root' an optional id integer or equal to 'root'
$forceload false
  • Returns JCategoryNode|null
  • Defined on line 148 of libraries/joomla/application/categories.php
  • Since Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]