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