Liste de tous les membres
Documentation des constructeurs et destructeur
JCategoryNode::__construct |
( |
|
$category = null , |
|
|
& |
$constructor = null |
|
) |
| |
Documentation des fonctions membres
JCategoryNode::addChild |
( |
& |
$child | ) |
|
Add child to this node
If the child already has a parent, the link is unset
- Paramètres:
-
JNode | &$child | The child to be added. |
- Renvoie:
- void
- Depuis:
- 11.1
JCategoryNode::getAuthor |
( |
|
$modified_user = false | ) |
|
Returns the user that created the category
- Paramètres:
-
boolean | $modified_user | Returns the modified_user when set to true |
- Renvoie:
- JUser A JUser object containing a userid
- Depuis:
- 11.1
Références JFactory\getUser().
& JCategoryNode::getChildren |
( |
|
$recursive = false | ) |
|
Get the children of this node
- Paramètres:
-
boolean | $recursive | False by default |
- Renvoie:
- array The children
- Depuis:
- 11.1
Références $_children, et setAllLoaded().
Référencé par getNumItems().
JCategoryNode::getMetadata |
( |
| ) |
|
JCategoryNode::getNumItems |
( |
|
$recursive = false | ) |
|
Returns the number of items.
- Paramètres:
-
boolean | $recursive | If false number of children, if true number of descendants |
- Renvoie:
- integer Number of children or descendants
- Depuis:
- 11.1
Références $count, $numitems, et getChildren().
JCategoryNode::getParams |
( |
| ) |
|
Returns the category parameters
- Renvoie:
- JRegistry
- Depuis:
- 11.1
Références $params.
& JCategoryNode::getParent |
( |
| ) |
|
JCategoryNode::getPath |
( |
| ) |
|
Returns the category path to the root category
- Renvoie:
- array
- Depuis:
- 11.1
Références $_path.
JCategoryNode::getSibling |
( |
|
$right = true | ) |
|
Returns the right or left sibling of a category
- Paramètres:
-
boolean | $right | If set to false, returns the left sibling |
- Renvoie:
- mixed JCategoryNode object with the sibling information or NULL if there is no sibling on that side.
- Depuis:
- 11.1
Références $_leftSibling, $_rightSibling, et setAllLoaded().
JCategoryNode::hasChildren |
( |
| ) |
|
Test if this node has children
- Renvoie:
- boolean True if there is a child
- Depuis:
- 11.1
JCategoryNode::hasParent |
( |
| ) |
|
Test if this node has a parent
- Renvoie:
- boolean True if there is a parent
- Depuis:
- 11.1
Références getParent(), et null.
JCategoryNode::removeChild |
( |
|
$id | ) |
|
Remove a specific child
- Paramètres:
-
integer | $id | ID of a category |
- Renvoie:
- void
- Depuis:
- 11.1
Références $key.
JCategoryNode::setAllLoaded |
( |
| ) |
|
JCategoryNode::setParent |
( |
& |
$parent | ) |
|
Set the parent of this category
If the category already has a parent, the link is unset
- Paramètres:
-
- Renvoie:
- void
- Depuis:
- 11.1
Références $alias, et $key.
JCategoryNode::setSibling |
( |
|
$sibling, |
|
|
|
$right = true |
|
) |
| |
Function to set the left or right sibling of a category
- Paramètres:
-
object | $sibling | JCategoryNode object for the sibling |
boolean | $right | If set to false, the sibling is the left one |
- Renvoie:
- void
- Depuis:
- 11.1
Documentation des données membres
JCategoryNode::$_allChildrenloaded = false |
|
protected |
JCategoryNode::$_children = array() |
|
protected |
JCategoryNode::$_constructor = null |
|
protected |
JCategoryNode::$_leftSibling = null |
|
protected |
JCategoryNode::$_parent = null |
|
protected |
JCategoryNode::$_path = array() |
|
protected |
JCategoryNode::$_rightSibling = null |
|
protected |
JCategoryNode::$access = null |
JCategoryNode::$alias = null |
JCategoryNode::$asset_id = null |
JCategoryNode::$assets = null |
JCategoryNode::$checked_out = 0 |
JCategoryNode::$checked_out_time = 0 |
JCategoryNode::$childrennumitems = null |
JCategoryNode::$created_time = null |
JCategoryNode::$created_user_id = null |
JCategoryNode::$description = null |
JCategoryNode::$extension = null |
JCategoryNode::$hits = null |
JCategoryNode::$id = null |
JCategoryNode::$language = null |
JCategoryNode::$level = null |
JCategoryNode::$lft = null |
JCategoryNode::$metadata = null |
JCategoryNode::$metadesc = null |
JCategoryNode::$metakey = null |
JCategoryNode::$modified_time = null |
JCategoryNode::$modified_user_id = null |
JCategoryNode::$numitems = null |
JCategoryNode::$params = null |
JCategoryNode::$parent_id = null |
JCategoryNode::$published = null |
JCategoryNode::$rgt = null |
JCategoryNode::$slug = null |
JCategoryNode::$title = null |
La documentation de cette classe a été générée à partir du fichier suivant :