API17:JCategories::get
From Joomla! Documentation
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.
JCategories::get
Description
Loads a specific category and all its children in a object.
Description:JCategories::get [Edit Descripton]
Since
Synopsis
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
JCategoryNode|null
Defined in
libraries/joomla/application/categories.php (line 148)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
