Difference between revisions of "JCategories::get"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
(Layout updates) |
||
Line 12: | Line 12: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public JCategories::get ($id= 'root', $forceload=false) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 35: | Line 35: | ||
JCategoryNode|null | JCategoryNode|null | ||
===Defined in=== | ===Defined in=== | ||
− | libraries/joomla/application/categories.php | + | libraries/joomla/application/categories.php (line 148) |
+ | * see source code in [[jplatform:application/categories.php#cl-148|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== |
Revision as of 20:04, 23 April 2011
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.
Template:Description:JCategories::get [Edit Descripton]
Since[edit]
Synopsis[edit]
public JCategories::get ($id= 'root', $forceload=false)
Parameter | Type | Default | Description |
---|---|---|---|
$id | $id | 'root' | an optional id integer or equal to 'root' |
$forceload | false |
Returns[edit]
JCategoryNode|null
Defined in[edit]
libraries/joomla/application/categories.php (line 148)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Template:SeeAlso:JCategories::get
Examples[edit]
<CodeExamplesForm />