ILIAS
Release_5_0_x_branch Revision 61816
|
Parses result XML from lucene search highlight. More...
Public Member Functions | |
__construct () | |
Contructor. | |
getMaxScore () | |
setMaxScore ($a_score) | |
getRelevance ($a_obj_id, $sub_id) | |
get relevance | |
setResultString ($a_res) | |
set result xml string | |
getResultString () | |
get result xml string | |
parse () | |
parse | |
getTitle ($a_obj_id, $a_sub_id) | |
get title | |
getDescription ($a_obj_id, $a_sub_id) | |
get description | |
getContent ($a_obj_id, $a_sub_id) | |
get content | |
getSubItemIds ($a_obj_id) | |
get subitem ids |
Private Attributes | |
$result_string = '' | |
$result = array() | |
$max_score = 0 |
Parses result XML from lucene search highlight.
Definition at line 34 of file class.ilLuceneHighlighterResultParser.php.
ilLuceneHighlighterResultParser::__construct | ( | ) |
ilLuceneHighlighterResultParser::getContent | ( | $a_obj_id, | |
$a_sub_id | |||
) |
get content
int | obj_id |
int | sub_item |
Definition at line 170 of file class.ilLuceneHighlighterResultParser.php.
ilLuceneHighlighterResultParser::getDescription | ( | $a_obj_id, | |
$a_sub_id | |||
) |
get description
int | obj_id |
int | sub_item |
Definition at line 159 of file class.ilLuceneHighlighterResultParser.php.
ilLuceneHighlighterResultParser::getMaxScore | ( | ) |
Definition at line 54 of file class.ilLuceneHighlighterResultParser.php.
References $max_score.
Referenced by getRelevance().
ilLuceneHighlighterResultParser::getRelevance | ( | $a_obj_id, | |
$sub_id | |||
) |
get relevance
int | obj_id |
Definition at line 69 of file class.ilLuceneHighlighterResultParser.php.
References getMaxScore().
ilLuceneHighlighterResultParser::getResultString | ( | ) |
get result xml string
@return |
Definition at line 97 of file class.ilLuceneHighlighterResultParser.php.
References $result_string.
Referenced by parse().
ilLuceneHighlighterResultParser::getSubItemIds | ( | $a_obj_id | ) |
get subitem ids
@return |
Definition at line 180 of file class.ilLuceneHighlighterResultParser.php.
ilLuceneHighlighterResultParser::getTitle | ( | $a_obj_id, | |
$a_sub_id | |||
) |
get title
int | obj_id |
int | sub_item |
Definition at line 148 of file class.ilLuceneHighlighterResultParser.php.
ilLuceneHighlighterResultParser::parse | ( | ) |
parse
Definition at line 106 of file class.ilLuceneHighlighterResultParser.php.
References getResultString(), and setMaxScore().
ilLuceneHighlighterResultParser::setMaxScore | ( | $a_score | ) |
Definition at line 59 of file class.ilLuceneHighlighterResultParser.php.
Referenced by parse().
ilLuceneHighlighterResultParser::setResultString | ( | $a_res | ) |
set result xml string
@return |
Definition at line 87 of file class.ilLuceneHighlighterResultParser.php.
|
private |
Definition at line 40 of file class.ilLuceneHighlighterResultParser.php.
Referenced by getMaxScore().
|
private |
Definition at line 37 of file class.ilLuceneHighlighterResultParser.php.
|
private |
Definition at line 36 of file class.ilLuceneHighlighterResultParser.php.
Referenced by getResultString().