| [ Index ] |
PHP Cross Reference of Joomla 2.5.4 DE |
[Source view] [Print] [Project Stats]
(no description)
| Copyright: | Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved. |
| License: | GNU General Public License version 2 or later; see LICENSE |
| File Size: | 433 lines (12 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
FinderIndexerTaxonomy:: (8 methods):
addBranch()
addNode()
addMap()
getBranchTitles()
getNodeByTitle()
removeMaps()
removeOrphanNodes()
storeNode()
Class: FinderIndexerTaxonomy - X-Ref
Stemmer base class for the Finder indexer package.| addBranch($title, $state = 1, $access = 1) X-Ref |
| Method to add a branch to the taxonomy tree. param: string $title The title of the branch. param: integer $state The published state of the branch. [optional] param: integer $access The access state of the branch. [optional] return: integer The id of the branch. |
| addNode($branch, $title, $state = 1, $access = 1) X-Ref |
| Method to add a node to the taxonomy tree. param: string $branch The title of the branch to store the node in. param: string $title The title of the node. param: integer $state The published state of the node. [optional] param: integer $access The access state of the node. [optional] return: integer The id of the node. |
| addMap($linkId, $nodeId) X-Ref |
| Method to add a map entry between a link and a taxonomy node. param: integer $linkId The link to map to. param: integer $nodeId The node to map to. return: boolean True on success. |
| getBranchTitles() X-Ref |
| Method to get the title of all taxonomy branches. return: array An array of branch titles. |
| getNodeByTitle($branch, $title) X-Ref |
| Method to find a taxonomy node in a branch. param: string $branch The branch to search. param: string $title The title of the node. return: mixed Integer id on success, null on no match. |
| removeMaps($linkId) X-Ref |
| Method to remove map entries for a link. param: integer $linkId The link to remove. return: boolean True on success. |
| removeOrphanNodes() X-Ref |
| Method to remove orphaned taxonomy nodes and branches. return: integer The number of deleted rows. |
| storeNode($item) X-Ref |
| Method to store a node to the database. This method will accept either a branch or a node. param: object $item The item to store. return: boolean True on success. |
| Generated: Tue Apr 3 11:40:28 2012 | Cross-referenced by PHPXref 0.7.1 |