|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Class ilSearchGUI. More...
Inheritance diagram for ilSearchGUI:
Collaboration diagram for ilSearchGUI:Public Member Functions | |
| __construct () | |
| Constructor @access public. More... | |
| executeCommand () | |
| Control @access public. More... | |
| setType ($a_type) | |
| Set/get type of search (detail or 'fast' search) @access public. More... | |
| getType () | |
| setCombination ($a_combination) | |
| Set/get combination of search ('and' or 'or') @access public. More... | |
| getCombination () | |
| setString ($a_str) | |
| Set/get search string @access public. More... | |
| getString () | |
| setDetails ($a_details) | |
| Set/get details (object types for details search) @access public. More... | |
| getDetails () | |
| getRootNode () | |
| setRootNode ($a_node_id) | |
| remoteSearch () | |
| autoComplete () | |
| Data resource for autoComplete. More... | |
| showSearch () | |
| showSavedResults () | |
| performSearch () | |
| Perform search. More... | |
| prepareOutput () | |
| & | __performDetailsSearch (&$query_parser, &$result) |
| & | __parseQueryString () |
| parse query string, using query parser instance More... | |
| & | __searchObjects (&$query_parser) |
| Search in obect title,desctiption. More... | |
| parseCreationFilter (ilObjectSearch $search) | |
| & | __searchMeta (&$query_parser, $a_type) |
| Search in object meta data (keyword) More... | |
| __getFilter () | |
| Get object type for filter (If detail search is enabled) More... | |
Public Member Functions inherited from ilSearchBaseGUI | |
| __construct () | |
| Constructor @access public. More... | |
| prepareOutput () | |
| initStandardSearchForm ($a_mode) | |
| Init standard search form. More... | |
| getSearchAreaForm () | |
| Init standard search form. More... | |
| handleCommand ($a_cmd) | |
| Handle command. More... | |
| addToDeskObject () | |
| Interface methods. More... | |
| removeFromDeskObject () | |
| Remove from dektop. More... | |
| delete () | |
| Show deletion screen. More... | |
| cancelDelete () | |
| Cancel delete. More... | |
| cancelMoveLinkObject () | |
| Cancel move/link. More... | |
| performDelete () | |
| Delete objects. More... | |
| cut () | |
| Interface ilAdministrationCommandHandler. More... | |
| link () | |
| Interface ilAdministrationCommandHandler. More... | |
| paste () | |
| Paste. More... | |
| showLinkIntoMultipleObjectsTree () | |
| Target selection link. More... | |
| showPasteTree () | |
| Target selection cut. More... | |
| performPasteIntoMultipleObjects () | |
| Perform paste into multiple objects. More... | |
| clear () | |
| clear clipboard More... | |
| enableAdministrationPanel () | |
| Enable administration panel. More... | |
| disableAdministrationPanel () | |
| Disable administration panel. More... | |
| keepObjectsInClipboardObject () | |
cancel action but keep objects in clipboard
| |
| addLocator () | |
| Add Locator. More... | |
| autoComplete () | |
| Data resource for autoComplete. More... | |
| addToDeskObject () | |
| Add desktop item @access public. More... | |
| removeFromDeskObject () | |
| Remove from desktop @access public. More... | |
| delete () | |
| Show delete confirmation. More... | |
| cancelDelete () | |
| Cancel delete. More... | |
| performDelete () | |
| Perform Delete. More... | |
| cut () | |
| Cut object. More... | |
| showLinkIntoMultipleObjectsTree () | |
| Target selection link. More... | |
| showPasteTree () | |
| Target selection cut. More... | |
| performPasteIntoMultipleObjects () | |
| Perform paste into multiple objects. More... | |
| paste () | |
| Paste. More... | |
| clear () | |
| clear clipboard More... | |
| enableAdministrationPanel () | |
| Enable administration panel. More... | |
| disableAdministrationPanel () | |
| Disable administration panel. More... | |
| cancelMoveLinkObject () | |
| Cancel move/link. More... | |
| keepObjectsInClipboardObject () | |
| cancel action but keep objects in clipboard More... | |
Data Fields | |
| $root_node | |
| $combination | |
| $string | |
| $type | |
Data Fields inherited from ilSearchBaseGUI | |
| const | SEARCH_FAST = 1 |
| const | SEARCH_DETAILS = 2 |
| const | SEARCH_AND = 'and' |
| const | SEARCH_OR = 'or' |
| const | SEARCH_FORM_LUCENE = 1 |
| const | SEARCH_FORM_STANDARD = 2 |
| const | SEARCH_FORM_USER = 3 |
| $ilias = null | |
| $lng = null | |
| $tpl = null | |
Protected Member Functions | |
| storeRoot () | |
| Store new root node. More... | |
| initUserSearchCache () | |
| Init user search cache. More... | |
Protected Member Functions inherited from ilSearchBaseGUI | |
| addPager ($result, $a_session_key) | |
| Add Pager. More... | |
| buildSearchAreaPath ($a_root_node) | |
| Build path for search area. More... | |
| getCreationDateForm () | |
| getSearchCache () | |
| Get user search cache. More... | |
| loadCreationFilter () | |
| Load creation date filter. More... | |
Protected Attributes | |
| $search_cache = null | |
Protected Attributes inherited from ilSearchBaseGUI | |
| $settings = null | |
| $ctrl = null | |
| $favourites | |
| $user | |
Class ilSearchGUI.
GUI class for 'simple' search
Definition at line 22 of file class.ilSearchGUI.php.
| ilSearchGUI::__construct | ( | ) |
Constructor @access public.
Reimplemented from ilSearchBaseGUI.
Definition at line 36 of file class.ilSearchGUI.php.
References $_POST, $_SESSION, $DIC, $ilUser, ilSearchBaseGUI\$lng, $type, ILIAS\GlobalScreen\Provider\__construct(), ilSearchSettings\getInstance(), ilSearchBaseGUI\initStandardSearchForm(), ilSearchBaseGUI\SEARCH_FORM_STANDARD, setCombination(), setDetails(), setString(), and setType().
Here is the call graph for this function:| ilSearchGUI::__getFilter | ( | ) |
Get object type for filter (If detail search is enabled)
Definition at line 646 of file class.ilSearchGUI.php.
References getDetails(), getType(), and ilSearchBaseGUI\SEARCH_DETAILS.
Referenced by __performDetailsSearch(), __searchMeta(), and __searchObjects().
Here is the call graph for this function:
Here is the caller graph for this function:| & ilSearchGUI::__parseQueryString | ( | ) |
parse query string, using query parser instance
Definition at line 550 of file class.ilSearchGUI.php.
References getCombination(), getString(), and ilUtil\stripSlashes().
Referenced by performSearch().
Here is the call graph for this function:
Here is the caller graph for this function:| & ilSearchGUI::__performDetailsSearch | ( | & | $query_parser, |
| & | $result | ||
| ) |
Definition at line 458 of file class.ilSearchGUI.php.
References $result, $type, __getFilter(), ilObjectSearchFactory\_getExerciseSearchInstance(), ilObjectSearchFactory\_getForumSearchInstance(), ilObjectSearchFactory\_getGlossaryDefinitionSearchInstance(), ilObjectSearchFactory\_getLMContentSearchInstance(), ilObjectSearchFactory\_getMediaPoolSearchInstance(), ilObjectSearchFactory\_getObjectSearchInstance(), ilObjectSearchFactory\_getTestSearchInstance(), ilObjectSearchFactory\_getWikiContentSearchInstance(), and getDetails().
Referenced by performSearch().
Here is the call graph for this function:
Here is the caller graph for this function:| & ilSearchGUI::__searchMeta | ( | & | $query_parser, |
| $a_type | |||
| ) |
Search in object meta data (keyword)
Definition at line 614 of file class.ilSearchGUI.php.
References $a_type, __getFilter(), ilObjectSearchFactory\_getMetaDataSearchInstance(), getType(), and ilSearchBaseGUI\SEARCH_DETAILS.
Referenced by performSearch().
Here is the call graph for this function:
Here is the caller graph for this function:| & ilSearchGUI::__searchObjects | ( | & | $query_parser | ) |
Search in obect title,desctiption.
Definition at line 568 of file class.ilSearchGUI.php.
References __getFilter(), ilObjectSearchFactory\_getObjectSearchInstance(), getType(), parseCreationFilter(), and ilSearchBaseGUI\SEARCH_DETAILS.
Referenced by performSearch().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSearchGUI::autoComplete | ( | ) |
Data resource for autoComplete.
Reimplemented from ilSearchBaseGUI.
Definition at line 205 of file class.ilSearchGUI.php.
References $res, ilLogLevel\DEBUG, exit, ilSearchAutoComplete\getList(), and ilLoggerFactory\getLogger().
Here is the call graph for this function:| ilSearchGUI::executeCommand | ( | ) |
Control @access public.
Definition at line 77 of file class.ilSearchGUI.php.
References $DIC, $ilCtrl, ilSearchBaseGUI\getSearchAreaForm(), ilSearchBaseGUI\handleCommand(), initUserSearchCache(), and prepareOutput().
Here is the call graph for this function:| ilSearchGUI::getCombination | ( | ) |
Definition at line 137 of file class.ilSearchGUI.php.
References ilSearchBaseGUI\SEARCH_OR.
Referenced by __parseQueryString().
Here is the caller graph for this function:| ilSearchGUI::getDetails | ( | ) |
Definition at line 161 of file class.ilSearchGUI.php.
Referenced by __getFilter(), __performDetailsSearch(), and performSearch().
Here is the caller graph for this function:| ilSearchGUI::getRootNode | ( | ) |
Definition at line 167 of file class.ilSearchGUI.php.
Referenced by performSearch(), and showSavedResults().
Here is the caller graph for this function:| ilSearchGUI::getString | ( | ) |
Definition at line 149 of file class.ilSearchGUI.php.
References $string.
Referenced by __parseQueryString(), and showSearch().
Here is the caller graph for this function:| ilSearchGUI::getType | ( | ) |
Definition at line 125 of file class.ilSearchGUI.php.
References ilSearchBaseGUI\SEARCH_FAST.
Referenced by __getFilter(), __searchMeta(), __searchObjects(), and performSearch().
Here is the caller graph for this function:
|
protected |
Init user search cache.
@access private
Definition at line 716 of file class.ilSearchGUI.php.
References $_GET, $_POST, $DIC, $ilUser, ilUserSearchCache\_getInstance(), ilUserSearchCache\DEFAULT_SEARCH, ilSearchBaseGUI\loadCreationFilter(), and ilUtil\stripSlashes().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSearchGUI::parseCreationFilter | ( | ilObjectSearch | $search | ) |
Definition at line 581 of file class.ilSearchGUI.php.
References ilObjectSearch\CDATE_OPERATOR_AFTER, ilObjectSearch\CDATE_OPERATOR_BEFORE, ilObjectSearch\CDATE_OPERATOR_ON, ilSearchBaseGUI\getSearchCache(), IL_CAL_UNIX, ilObjectSearch\setCreationDateFilterDate(), and ilObjectSearch\setCreationDateFilterOperator().
Referenced by __searchObjects().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSearchGUI::performSearch | ( | ) |
Perform search.
Definition at line 341 of file class.ilSearchGUI.php.
References $_GET, $_SESSION, $DIC, $ilUser, $result, __parseQueryString(), __performDetailsSearch(), __searchMeta(), __searchObjects(), ilSearchBaseGUI\addPager(), getDetails(), getRootNode(), getType(), ilSearchResultPresentation\MODE_STANDARD, ilSearchBaseGUI\SEARCH_DETAILS, ilUtil\sendInfo(), and showSearch().
Referenced by remoteSearch(), and storeRoot().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSearchGUI::prepareOutput | ( | ) |
Reimplemented from ilSearchBaseGUI.
Definition at line 429 of file class.ilSearchGUI.php.
References $DIC, and settings().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSearchGUI::remoteSearch | ( | ) |
Definition at line 177 of file class.ilSearchGUI.php.
References $_POST, performSearch(), setRootNode(), setString(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilSearchGUI::setCombination | ( | $a_combination | ) |
Set/get combination of search ('and' or 'or') @access public.
Definition at line 133 of file class.ilSearchGUI.php.
References $_SESSION.
Referenced by __construct().
Here is the caller graph for this function:| ilSearchGUI::setDetails | ( | $a_details | ) |
Set/get details (object types for details search) @access public.
Definition at line 157 of file class.ilSearchGUI.php.
References $_SESSION.
Referenced by __construct().
Here is the caller graph for this function:| ilSearchGUI::setRootNode | ( | $a_node_id | ) |
Definition at line 171 of file class.ilSearchGUI.php.
References $_SESSION.
Referenced by remoteSearch().
Here is the caller graph for this function:| ilSearchGUI::setString | ( | $a_str | ) |
Set/get search string @access public.
Definition at line 145 of file class.ilSearchGUI.php.
References $_SESSION.
Referenced by __construct(), and remoteSearch().
Here is the caller graph for this function:| ilSearchGUI::setType | ( | $a_type | ) |
Set/get type of search (detail or 'fast' search) @access public.
Definition at line 121 of file class.ilSearchGUI.php.
References $_SESSION, and $a_type.
Referenced by __construct().
Here is the caller graph for this function:| ilSearchGUI::showSavedResults | ( | ) |
Definition at line 302 of file class.ilSearchGUI.php.
References $DIC, $ilUser, ilSearchBaseGUI\addPager(), getRootNode(), ilSearchResultPresentation\MODE_STANDARD, and showSearch().
Here is the call graph for this function:| ilSearchGUI::showSearch | ( | ) |
Definition at line 244 of file class.ilSearchGUI.php.
References $DIC, $ilCtrl, ilSearchBaseGUI\$lng, ilGlyphGUI\CARET, ilGlyphGUI\get(), ilSearchBaseGUI\getCreationDateForm(), ilSearchSettings\getInstance(), ilSubmitButton\getInstance(), ilSearchBaseGUI\getSearchAreaForm(), getString(), ilOverlayGUI\initJavascript(), ilSearchBaseGUI\initStandardSearchForm(), ilSearchSettings\OPERATOR_AND, ilUtil\prepareFormOutput(), and ilSearchBaseGUI\SEARCH_FORM_STANDARD.
Referenced by performSearch(), and showSavedResults().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Store new root node.
Definition at line 187 of file class.ilSearchGUI.php.
References ilSearchBaseGUI\getSearchAreaForm(), performSearch(), and ilSubItemListGUI\resetDetails().
Here is the call graph for this function:| ilSearchGUI::$combination |
Definition at line 27 of file class.ilSearchGUI.php.
| ilSearchGUI::$root_node |
Definition at line 26 of file class.ilSearchGUI.php.
|
protected |
Definition at line 24 of file class.ilSearchGUI.php.
| ilSearchGUI::$string |
Definition at line 28 of file class.ilSearchGUI.php.
Referenced by getString().
| ilSearchGUI::$type |
Definition at line 29 of file class.ilSearchGUI.php.
Referenced by __construct(), and __performDetailsSearch().