API15:JCategoryNode/setParent
From Joomla! Documentation
Description
Sets the parent for the current category
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
setParent(&$node)
Parameter Name | Default Value | Description |
---|---|---|
Returns
void
Defined in
libraries/joomla/application/categories.php
Importing
jimport( 'joomla.application.categories' );
Source Body
public function setParent(&$node)
{
$this->_parent = & $node;
}
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
Code Examples