\FinderIndexerTaxonomy
Stemmer base class for the Finder indexer package.
Synopsis
class FinderIndexerTaxonomy
{
- // methods
- public static integer addBranch()
- public static integer addNode()
- public static boolean addMap()
- public static array getBranchTitles()
- public static mixed getNodeByTitle()
- public static boolean removeMaps()
- public static integer removeOrphanNodes()
- protected static boolean storeNode()
Members
public
- $branches
—
array
An internal cache of taxonomy branch data. - $nodes
—
array
An internal cache of taxonomy node data.
Methods
protected
- storeNode() — Method to store a node to the database. This method will accept either a branch or a node.
public
- addBranch() — Method to add a branch to the taxonomy tree.
- addMap() — Method to add a map entry between a link and a taxonomy node.
- addNode() — Method to add a node to the taxonomy tree.
- getBranchTitles() — Method to get the title of all taxonomy branches.
- getNodeByTitle() — Method to find a taxonomy node in a branch.
- removeMaps() — Method to remove map entries for a link.
- removeOrphanNodes() — Method to remove orphaned taxonomy nodes and branches.