FinderIndexerTaxonomy::addNode
Method to add a node to the taxonomy tree.
Signature
public function addNode(string
$branch,
[string
$title = 1,
[integer
$state = 1,
[integer
$access = 1]]] )
Parameters
-
$branch
- The title of the branch to store the node in.
-
$title
- The title of the node.
-
$state
- The published state of the node. [optional]
-
$access
- The access state of the node. [optional]
Returns
- integer
- The id of the node.
Errors/Exceptions
-
Exception
- on database error.