ILIAS
Release_3_10_x_branch Revision 61812
|
Public Member Functions | |
ilSearchGUI () | |
Constructor public. | |
setType ($a_type) | |
Set/get type of search (detail or 'fast' search) public. | |
getType () | |
setCombination ($a_combination) | |
Set/get combination of search ('and' or 'or') public. | |
getCombination () | |
setString ($a_str) | |
Set/get search string public. | |
getString () | |
setDetails ($a_details) | |
Set/get details (object types for details search) public. | |
getDetails () | |
getRootNode () | |
setRootNode ($a_node_id) | |
& | executeCommand () |
Control public. | |
saveResult () | |
showSearch () | |
showSelectRoot () | |
selectRoot () | |
showSavedResults () | |
searchInResults () | |
performSearch () | |
prepareOutput () | |
& | __performDetailsSearch (&$query_parser, &$result) |
& | __parseQueryString () |
parse query string, using query parser instance | |
& | __searchObjects (&$query_parser) |
Search in obect title,desctiption. | |
& | __searchMeta (&$query_parser, $a_type) |
Search in object meta data (keyword) | |
__getFilter () | |
Get object type for filter (If detail search is enabled) | |
__showSearchInResults () | |
Show search in results button. | |
__getFolderSelect () | |
Public Member Functions inherited from ilSearchBaseGUI | |
ilSearchBaseGUI () | |
Constructor public. |
Data Fields | |
$root_node | |
$combination | |
$string | |
$type | |
Data Fields inherited from ilSearchBaseGUI | |
$settings = null | |
$ilias = null | |
$lng = null | |
$tpl = null |
Protected Member Functions | |
initUserSearchCache () | |
Init user search cache. | |
Protected Member Functions inherited from ilSearchBaseGUI | |
addPager ($result, $a_session_key) | |
Add Pager. |
Protected Attributes | |
$search_cache = null | |
Protected Attributes inherited from ilSearchBaseGUI | |
$ctrl = null |
Definition at line 42 of file class.ilSearchGUI.php.
ilSearchGUI::__getFilter | ( | ) |
Get object type for filter (If detail search is enabled)
Definition at line 629 of file class.ilSearchGUI.php.
References getDetails(), getType(), and SEARCH_DETAILS.
Referenced by __performDetailsSearch(), __searchMeta(), and __searchObjects().
ilSearchGUI::__getFolderSelect | ( | ) |
Definition at line 709 of file class.ilSearchGUI.php.
References formSelect(), and ilSearchFolder\getSubtree().
Referenced by __showSearchInResults().
& ilSearchGUI::__parseQueryString | ( | ) |
parse query string, using query parser instance
Definition at line 558 of file class.ilSearchGUI.php.
References getCombination(), getString(), and ilUtil\stripSlashes().
Referenced by performSearch().
& ilSearchGUI::__performDetailsSearch | ( | & | $query_parser, |
& | $result | ||
) |
Definition at line 472 of file class.ilSearchGUI.php.
References $result, $type, __getFilter(), ilObjectSearchFactory\_getExerciseSearchInstance(), ilObjectSearchFactory\_getFileSearchInstance(), ilObjectSearchFactory\_getForumSearchInstance(), ilObjectSearchFactory\_getGlossaryDefinitionSearchInstance(), ilObjectSearchFactory\_getHTLMSearchInstance(), ilObjectSearchFactory\_getLMContentSearchInstance(), ilObjectSearchFactory\_getMediaPoolSearchInstance(), ilObjectSearchFactory\_getTestSearchInstance(), ilObjectSearchFactory\_getWikiContentSearchInstance(), and getDetails().
Referenced by performSearch().
& ilSearchGUI::__searchMeta | ( | & | $query_parser, |
$a_type | |||
) |
Search in object meta data (keyword)
Definition at line 595 of file class.ilSearchGUI.php.
References __getFilter(), ilObjectSearchFactory\_getMetaDataSearchInstance(), getType(), and SEARCH_DETAILS.
Referenced by performSearch().
& ilSearchGUI::__searchObjects | ( | & | $query_parser | ) |
Search in obect title,desctiption.
Definition at line 577 of file class.ilSearchGUI.php.
References __getFilter(), ilObjectSearchFactory\_getObjectSearchInstance(), getType(), and SEARCH_DETAILS.
Referenced by performSearch().
ilSearchGUI::__showSearchInResults | ( | ) |
Show search in results button.
If search was successful
Definition at line 694 of file class.ilSearchGUI.php.
References __getFolderSelect(), and ilUtil\getImagePath().
Referenced by performSearch(), and showSavedResults().
& ilSearchGUI::executeCommand | ( | ) |
Control public.
Definition at line 132 of file class.ilSearchGUI.php.
References $cmd, initUserSearchCache(), and prepareOutput().
ilSearchGUI::getCombination | ( | ) |
Definition at line 89 of file class.ilSearchGUI.php.
References SEARCH_OR.
Referenced by __parseQueryString(), and showSearch().
ilSearchGUI::getDetails | ( | ) |
Definition at line 113 of file class.ilSearchGUI.php.
Referenced by __getFilter(), __performDetailsSearch(), performSearch(), and showSearch().
ilSearchGUI::getRootNode | ( | ) |
Definition at line 119 of file class.ilSearchGUI.php.
Referenced by performSearch(), showSavedResults(), and showSearch().
ilSearchGUI::getString | ( | ) |
Definition at line 101 of file class.ilSearchGUI.php.
References $string.
Referenced by __parseQueryString(), and showSearch().
ilSearchGUI::getType | ( | ) |
Definition at line 77 of file class.ilSearchGUI.php.
References SEARCH_FAST.
Referenced by __getFilter(), __searchMeta(), __searchObjects(), performSearch(), and showSearch().
ilSearchGUI::ilSearchGUI | ( | ) |
Constructor public.
Definition at line 55 of file class.ilSearchGUI.php.
References $_SESSION, ilSearchBaseGUI\ilSearchBaseGUI(), setCombination(), setDetails(), setString(), and setType().
|
protected |
Init user search cache.
private
Definition at line 746 of file class.ilSearchGUI.php.
References $_GET, and ilUserSearchCache\_getInstance().
Referenced by executeCommand().
ilSearchGUI::performSearch | ( | ) |
Definition at line 347 of file class.ilSearchGUI.php.
References $_GET, $_SESSION, $result, __parseQueryString(), __performDetailsSearch(), __searchMeta(), __searchObjects(), __showSearchInResults(), ilSearchBaseGUI\addPager(), getDetails(), getRootNode(), getType(), ilSearchResult\read(), SEARCH_DETAILS, ilUtil\sendInfo(), and showSearch().
Referenced by searchInResults().
ilSearchGUI::prepareOutput | ( | ) |
Reimplemented from ilSearchBaseGUI.
Definition at line 439 of file class.ilSearchGUI.php.
References ilUtil\getImagePath().
Referenced by executeCommand().
ilSearchGUI::saveResult | ( | ) |
Definition at line 155 of file class.ilSearchGUI.php.
References $ref_id, $title, ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilUtil\sendInfo(), ilUserResult\setTitle(), and showSavedResults().
ilSearchGUI::searchInResults | ( | ) |
Definition at line 336 of file class.ilSearchGUI.php.
References $_SESSION, and performSearch().
ilSearchGUI::selectRoot | ( | ) |
Definition at line 300 of file class.ilSearchGUI.php.
References $_GET, setRootNode(), and showSavedResults().
ilSearchGUI::setCombination | ( | $a_combination | ) |
Set/get combination of search ('and' or 'or') public.
Definition at line 85 of file class.ilSearchGUI.php.
References $_SESSION.
Referenced by ilSearchGUI().
ilSearchGUI::setDetails | ( | $a_details | ) |
Set/get details (object types for details search) public.
Definition at line 109 of file class.ilSearchGUI.php.
References $_SESSION.
Referenced by ilSearchGUI().
ilSearchGUI::setRootNode | ( | $a_node_id | ) |
Definition at line 123 of file class.ilSearchGUI.php.
References $_SESSION.
Referenced by selectRoot().
ilSearchGUI::setString | ( | $a_str | ) |
Set/get search string public.
Definition at line 97 of file class.ilSearchGUI.php.
References $_SESSION.
Referenced by ilSearchGUI().
ilSearchGUI::setType | ( | $a_type | ) |
Set/get type of search (detail or 'fast' search) public.
Definition at line 73 of file class.ilSearchGUI.php.
References $_SESSION.
Referenced by ilSearchGUI().
ilSearchGUI::showSavedResults | ( | ) |
Definition at line 309 of file class.ilSearchGUI.php.
References __showSearchInResults(), ilSearchBaseGUI\addPager(), getRootNode(), ilSearchResult\read(), and showSearch().
Referenced by saveResult(), and selectRoot().
ilSearchGUI::showSearch | ( | ) |
Definition at line 198 of file class.ilSearchGUI.php.
References ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilUtil\formCheckbox(), ilUtil\formRadioButton(), getCombination(), getDetails(), getRootNode(), getString(), getType(), ilUtil\prepareFormOutput(), SEARCH_AND, SEARCH_DETAILS, and SEARCH_FAST.
Referenced by performSearch(), and showSavedResults().
ilSearchGUI::showSelectRoot | ( | ) |
Definition at line 280 of file class.ilSearchGUI.php.
References $_GET, ilUtil\sendInfo(), and ilExplorer\setExpand().
ilSearchGUI::$combination |
Definition at line 47 of file class.ilSearchGUI.php.
ilSearchGUI::$root_node |
Definition at line 46 of file class.ilSearchGUI.php.
|
protected |
Definition at line 44 of file class.ilSearchGUI.php.
ilSearchGUI::$string |
Definition at line 48 of file class.ilSearchGUI.php.
Referenced by getString().
ilSearchGUI::$type |
Definition at line 49 of file class.ilSearchGUI.php.
Referenced by __performDetailsSearch().