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. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<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 | + | * {{JVer|11.1}} Class [[API17:JCategories|JCategories]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Application | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]] |
− | * [[JCategories::get|Other versions of JCategories::get]] | + | * [[API17:JCategories::get|Other versions of JCategories::get]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JCategories::get | category=JCategories::get | ||
− | + | 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.
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 |
See also[edit]
- JCategories::get source code on BitBucket
- Class JCategories
- Subpackage Application
- Other versions of JCategories::get
User contributed notes[edit]
Code Examples[edit]