|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Presentation of search results using object list gui. More...
Collaboration diagram for ilSearchResultPresentation:Public Member Functions | |
| __construct ($container=null, $a_mode=self::MODE_LUCENE) | |
| Constructor. More... | |
| getContainer () | |
| Get container gui. More... | |
| getMode () | |
| setResults ($a_result_data) | |
| Set result array. More... | |
| getResults () | |
| get results More... | |
| setSubitemIds ($a_subids) | |
| Set subitem ids Used for like and fulltext search. More... | |
| getSubitemIds () | |
| Get subitem ids. More... | |
| getSubitemIdsByObject ($a_obj_id) | |
| Get subitem ids for an object. More... | |
| getHTML ($a_new=false) | |
| Get HTML. More... | |
| setSearcher ($a_searcher) | |
| set searcher More... | |
| render () | |
| Parse results. More... | |
| setPreviousNext ($a_p, $a_n) | |
| Set previous next. More... | |
| getRelevance ($a_obj_id) | |
| get relevance More... | |
| lookupTitle ($a_obj_id, $a_sub_id) | |
| lookupDescription ($a_obj_id, $a_sub_id) | |
| lookupContent ($a_obj_id, $a_sub_id) | |
| get content More... | |
| appendAdditionalInformation ($item_list_gui, $ref_id, $obj_id, $type) | |
| Append path, relevance information. More... | |
Data Fields | |
| const | MODE_LUCENE = 1 |
| const | MODE_STANDARD = 2 |
Protected Member Functions | |
| parseResultReferences () | |
| Check if more than one reference is visible. More... | |
| hasMoreReferences ($a_ref_id) | |
| getAllReferences ($a_ref_id) | |
| renderItemList () | |
| Render item list. More... | |
| appendPath ($a_ref_id) | |
| Append path. More... | |
| appendMorePathes ($a_ref_id) | |
| Append more occurences link. More... | |
| appendRelevance ($a_obj_id) | |
| Append relevance. More... | |
| appendSubItems ($item_list_gui, $ref_id, $obj_id, $a_type) | |
| Append subitems. More... | |
| initReferences () | |
Protected Attributes | |
| $mode | |
| $tpl | |
| $lng | |
Private Attributes | |
| $results = array() | |
| $subitem_ids = array() | |
| $has_more_ref_ids = array() | |
| $all_references = null | |
| $searcher = null | |
| $container = null | |
Presentation of search results using object list gui.
Definition at line 33 of file class.ilSearchResultPresentation.php.
| ilSearchResultPresentation::__construct | ( | $container = null, |
|
$a_mode = self::MODE_LUCENE |
|||
| ) |
Constructor.
| object | $container | container gui object |
Definition at line 55 of file class.ilSearchResultPresentation.php.
References $_GET, $container, $DIC, $ilCtrl, $lng, $tpl, initReferences(), and ilSubItemListGUI\setShowDetails().
Here is the call graph for this function:| ilSearchResultPresentation::appendAdditionalInformation | ( | $item_list_gui, | |
| $ref_id, | |||
| $obj_id, | |||
| $type | |||
| ) |
Append path, relevance information.
Definition at line 360 of file class.ilSearchResultPresentation.php.
References $tpl, $type, appendMorePathes(), appendPath(), and appendSubItems().
Here is the call graph for this function:
|
protected |
Append more occurences link.
Definition at line 410 of file class.ilSearchResultPresentation.php.
References $tpl, getContainer(), getMode(), and hasMoreReferences().
Referenced by appendAdditionalInformation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Append path.
Definition at line 394 of file class.ilSearchResultPresentation.php.
References $tpl.
Referenced by appendAdditionalInformation().
Here is the caller graph for this function:
|
protected |
Append relevance.
Definition at line 433 of file class.ilSearchResultPresentation.php.
References $tpl, ilSearchSettings\getInstance(), ilProgressBar\getInstance(), getMode(), and getRelevance().
Here is the call graph for this function:
|
protected |
Append subitems.
Definition at line 466 of file class.ilSearchResultPresentation.php.
References $a_type, $subitem_ids, getContainer(), ilLuceneSubItemListGUIFactory\getInstanceByType(), getMode(), and getSubitemIdsByObject().
Referenced by appendAdditionalInformation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 178 of file class.ilSearchResultPresentation.php.
References $_SESSION.
Referenced by renderItemList().
Here is the caller graph for this function:| ilSearchResultPresentation::getContainer | ( | ) |
Get container gui.
Definition at line 79 of file class.ilSearchResultPresentation.php.
References $container.
Referenced by appendMorePathes(), and appendSubItems().
Here is the caller graph for this function:| ilSearchResultPresentation::getHTML | ( | $a_new = false | ) |
Get HTML.
Definition at line 191 of file class.ilSearchResultPresentation.php.
| ilSearchResultPresentation::getMode | ( | ) |
Definition at line 84 of file class.ilSearchResultPresentation.php.
References $mode.
Referenced by appendMorePathes(), appendRelevance(), appendSubItems(), getRelevance(), lookupContent(), lookupDescription(), and lookupTitle().
Here is the caller graph for this function:| ilSearchResultPresentation::getRelevance | ( | $a_obj_id | ) |
get relevance
return
Definition at line 304 of file class.ilSearchResultPresentation.php.
References getMode().
Referenced by appendRelevance(), and renderItemList().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSearchResultPresentation::getResults | ( | ) |
get results
Definition at line 102 of file class.ilSearchResultPresentation.php.
Referenced by parseResultReferences(), and renderItemList().
Here is the caller graph for this function:| ilSearchResultPresentation::getSubitemIds | ( | ) |
Get subitem ids.
Definition at line 122 of file class.ilSearchResultPresentation.php.
| ilSearchResultPresentation::getSubitemIdsByObject | ( | $a_obj_id | ) |
Get subitem ids for an object.
| int | $a_obj_id |
Definition at line 132 of file class.ilSearchResultPresentation.php.
Referenced by appendSubItems().
Here is the caller graph for this function:
|
protected |
Definition at line 167 of file class.ilSearchResultPresentation.php.
References $_SESSION.
Referenced by appendMorePathes().
Here is the caller graph for this function:
|
protected |
Definition at line 489 of file class.ilSearchResultPresentation.php.
References $_SESSION.
Referenced by __construct().
Here is the caller graph for this function:| ilSearchResultPresentation::lookupContent | ( | $a_obj_id, | |
| $a_sub_id | |||
| ) |
get content
return
Definition at line 349 of file class.ilSearchResultPresentation.php.
References getMode().
Here is the call graph for this function:| ilSearchResultPresentation::lookupDescription | ( | $a_obj_id, | |
| $a_sub_id | |||
| ) |
return
Definition at line 333 of file class.ilSearchResultPresentation.php.
References ilObject\_lookupDescription(), and getMode().
Referenced by renderItemList().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSearchResultPresentation::lookupTitle | ( | $a_obj_id, | |
| $a_sub_id | |||
| ) |
return
Definition at line 317 of file class.ilSearchResultPresentation.php.
References ilObject\_lookupTitle(), and getMode().
Referenced by renderItemList().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Check if more than one reference is visible.
Definition at line 144 of file class.ilSearchResultPresentation.php.
References $DIC, ilObject\_getAllReferences(), and getResults().
Referenced by renderItemList().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSearchResultPresentation::render | ( | ) |
Parse results.
| void |
Definition at line 211 of file class.ilSearchResultPresentation.php.
References renderItemList().
Here is the call graph for this function:
|
protected |
Render item list.
Definition at line 230 of file class.ilSearchResultPresentation.php.
References $DIC, $ilBench, $lng, ilObject\_lookupCreationDate(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilObjectListGUI\CONTEXT_SEARCH, getAllReferences(), getRelevance(), getResults(), lookupDescription(), lookupTitle(), and parseResultReferences().
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSearchResultPresentation::setPreviousNext | ( | $a_p, | |
| $a_n | |||
| ) |
Set previous next.
Definition at line 219 of file class.ilSearchResultPresentation.php.
| ilSearchResultPresentation::setResults | ( | $a_result_data | ) |
Set result array.
| array | $a_result_data | result array |
Definition at line 93 of file class.ilSearchResultPresentation.php.
| ilSearchResultPresentation::setSearcher | ( | $a_searcher | ) |
set searcher
return
Definition at line 201 of file class.ilSearchResultPresentation.php.
| ilSearchResultPresentation::setSubitemIds | ( | $a_subids | ) |
Set subitem ids Used for like and fulltext search.
| array | $a_subids | array ($obj_id => array(page1_id,page2_id); |
Definition at line 113 of file class.ilSearchResultPresentation.php.
|
private |
Definition at line 46 of file class.ilSearchResultPresentation.php.
|
private |
Definition at line 49 of file class.ilSearchResultPresentation.php.
Referenced by __construct(), and getContainer().
|
private |
Definition at line 45 of file class.ilSearchResultPresentation.php.
|
protected |
Definition at line 41 of file class.ilSearchResultPresentation.php.
Referenced by __construct(), and renderItemList().
|
protected |
Definition at line 38 of file class.ilSearchResultPresentation.php.
Referenced by getMode().
|
private |
Definition at line 43 of file class.ilSearchResultPresentation.php.
|
private |
Definition at line 47 of file class.ilSearchResultPresentation.php.
|
private |
Definition at line 44 of file class.ilSearchResultPresentation.php.
Referenced by appendSubItems().
|
protected |
Definition at line 40 of file class.ilSearchResultPresentation.php.
Referenced by __construct(), appendAdditionalInformation(), appendMorePathes(), appendPath(), and appendRelevance().
| const ilSearchResultPresentation::MODE_LUCENE = 1 |
Definition at line 35 of file class.ilSearchResultPresentation.php.
| const ilSearchResultPresentation::MODE_STANDARD = 2 |
Definition at line 36 of file class.ilSearchResultPresentation.php.
Referenced by ilAdvancedSearchGUI\performAdvMDSearch(), ilAdvancedSearchGUI\performSearch(), ilSearchGUI\performSearch(), ilAdvancedSearchGUI\showSavedAdvMDResults(), ilAdvancedSearchGUI\showSavedResults(), and ilSearchGUI\showSavedResults().