Liste de tous les membres
Attributs publics statiques |
static | $branches = array() |
static | $nodes = array() |
Documentation des fonctions membres
static FinderIndexerTaxonomy::addBranch |
( |
|
$title, |
|
|
|
$state = 1 , |
|
|
|
$access = 1 |
|
) |
| |
|
static |
Method to add a branch to the taxonomy tree.
- Paramètres:
-
string | $title | The title of the branch. |
integer | $state | The published state of the branch. [optional] |
integer | $access | The access state of the branch. [optional] |
- Renvoie:
- integer The id of the branch.
- Depuis:
- 2.5
- Exceptions:
-
Exception | on database error. |
Références $db, $query, $state, et $title.
static FinderIndexerTaxonomy::addMap |
( |
|
$linkId, |
|
|
|
$nodeId |
|
) |
| |
|
static |
Method to add a map entry between a link and a taxonomy node.
- Paramètres:
-
integer | $linkId | The link to map to. |
integer | $nodeId | The node to map to. |
- Renvoie:
- boolean True on success.
- Depuis:
- 2.5
- Exceptions:
-
Exception | on database error. |
Références $db, $id, et $query.
Référencé par FinderIndexer\index().
static FinderIndexerTaxonomy::addNode |
( |
|
$branch, |
|
|
|
$title, |
|
|
|
$state = 1 , |
|
|
|
$access = 1 |
|
) |
| |
|
static |
Method to add a node to the taxonomy tree.
- Paramètres:
-
string | $branch | The title of the branch to store the node in. |
string | $title | The title of the node. |
integer | $state | The published state of the node. [optional] |
integer | $access | The access state of the node. [optional] |
- Renvoie:
- integer The id of the node.
- Depuis:
- 2.5
- Exceptions:
-
Exception | on database error. |
Références $db, $query, $state, et $title.
Référencé par FinderIndexer\index().
static FinderIndexerTaxonomy::getBranchTitles |
( |
| ) |
|
|
static |
static FinderIndexerTaxonomy::getNodeByTitle |
( |
|
$branch, |
|
|
|
$title |
|
) |
| |
|
static |
static FinderIndexerTaxonomy::removeMaps |
( |
|
$linkId | ) |
|
|
static |
Method to remove map entries for a link.
- Paramètres:
-
integer | $linkId | The link to remove. |
- Renvoie:
- boolean True on success.
- Depuis:
- 2.5
- Exceptions:
-
Exception | on database error. |
Références $db, et $query.
Référencé par FinderIndexer\index(), et FinderIndexer\remove().
static FinderIndexerTaxonomy::removeOrphanNodes |
( |
| ) |
|
|
static |
static FinderIndexerTaxonomy::storeNode |
( |
|
$item | ) |
|
|
staticprotected |
Method to store a node to the database. This method will accept either a branch or a node.
- Paramètres:
-
object | $item | The item to store. |
- Renvoie:
- boolean True on success.
- Depuis:
- 2.5
- Exceptions:
-
Exception | on database error. |
Références $db, et $item.
Documentation des données membres
FinderIndexerTaxonomy::$branches = array() |
|
static |
FinderIndexerTaxonomy::$nodes = array() |
|
static |
La documentation de cette classe a été générée à partir du fichier suivant :