Lucene path filter.
More...
Lucene path filter.
- Author
- Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
- Version
- $Id$
Definition at line 34 of file class.ilLucenePathFilter.php.
◆ __construct()
ilLucenePathFilter::__construct |
( |
|
$a_root | ) |
|
◆ filter()
ilLucenePathFilter::filter |
( |
|
$a_ref_id | ) |
|
Return whether a object reference is valid or not.
- Parameters
-
int | $a_ref_id | reference id of object in question |
- Returns
- boolean
Implements ilLuceneResultFilter.
Definition at line 56 of file class.ilLucenePathFilter.php.
60 if($this->root == ROOT_FOLDER_ID)
64 if($this->root == $a_ref_id)
68 return $tree->isGrandChild($this->root, $a_ref_id);
◆ init()
ilLucenePathFilter::init |
( |
| ) |
|
|
protected |
Read valid reference ids.
- Returns
Definition at line 75 of file class.ilLucenePathFilter.php.
References array.
79 if($this->root == ROOT_FOLDER_ID) {
80 $this->subnodes =
array();
84 $node = $tree->getNodeData($this->root);
85 $this->subnodes = $tree->getSubTree($node,
false);
Create styles array
The data for the language used.
◆ $root
ilLucenePathFilter::$root = ROOT_FOLDER_ID |
|
protected |
◆ $subnodes
ilLucenePathFilter::$subnodes = array() |
|
protected |
The documentation for this class was generated from the following file: