ILIAS
Release_4_2_x_branch Revision 61807
|
Parses result XML from lucene search highlight. More...
Public Member Functions | |
__construct () | |
Contructor. | |
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() |
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 123 of file class.ilLuceneHighlighterResultParser.php.
ilLuceneHighlighterResultParser::getDescription | ( | $a_obj_id, | |
$a_sub_id | |||
) |
get description
int | obj_id |
int | sub_item |
Definition at line 112 of file class.ilLuceneHighlighterResultParser.php.
ilLuceneHighlighterResultParser::getResultString | ( | ) |
get result xml string
@return |
Definition at line 63 of file class.ilLuceneHighlighterResultParser.php.
References $result_string.
Referenced by parse().
ilLuceneHighlighterResultParser::getSubItemIds | ( | $a_obj_id | ) |
get subitem ids
@return |
Definition at line 133 of file class.ilLuceneHighlighterResultParser.php.
References $data.
ilLuceneHighlighterResultParser::getTitle | ( | $a_obj_id, | |
$a_sub_id | |||
) |
get title
int | obj_id |
int | sub_item |
Definition at line 101 of file class.ilLuceneHighlighterResultParser.php.
ilLuceneHighlighterResultParser::parse | ( | ) |
parse
Definition at line 72 of file class.ilLuceneHighlighterResultParser.php.
References getResultString().
ilLuceneHighlighterResultParser::setResultString | ( | $a_res | ) |
set result xml string
@return |
Definition at line 53 of file class.ilLuceneHighlighterResultParser.php.
|
private |
Definition at line 37 of file class.ilLuceneHighlighterResultParser.php.
|
private |
Definition at line 36 of file class.ilLuceneHighlighterResultParser.php.
Referenced by getResultString().