|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilSearchGUI:
Collaboration diagram for ilSearchGUI:Public Member Functions | |
| __construct () | |
| Constructor public. More... | |
| executeCommand () | |
| Control public. More... | |
| setType (int $a_type) | |
| Set/get type of search (detail or 'fast' search) public. More... | |
| getType () | |
| setCombination (string $a_combination) | |
| Set/get combination of search ('and' or 'or') public. More... | |
| getCombination () | |
| setString (string $a_str) | |
| Set/get search string public. More... | |
| getString () | |
| setDetails (array $a_details) | |
| Set/get details (object types for details search) public. More... | |
| getDetails () | |
| getRootNode () | |
| setRootNode (int $a_node_id) | |
| remoteSearch () | |
| autoComplete () | |
| Data resource for autoComplete. More... | |
| showSearch () | |
| showSavedResults () | |
| performSearchFilter () | |
| performSearch () | |
| Perform search. More... | |
| prepareOutput () | |
| __parseQueryString () | |
| parse query string, using query parser instance More... | |
| __searchObjects (ilQueryParser $query_parser) | |
| Search in obect title,desctiption. More... | |
| parseCreationFilter (ilObjectSearch $search) | |
| __searchMeta (ilQueryParser $query_parser, string $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 () | |
| prepareOutput () | |
| initStandardSearchForm (int $a_mode) | |
| handleCommand (string $a_cmd) | |
| addToDeskObject () | |
| removeFromDeskObject () | |
| delete () | |
| Show delete confirmation. More... | |
| cancelDelete () | |
| Cancel delete. More... | |
| cancelObject () | |
| cancelMoveLinkObject () | |
| performDelete () | |
| cut () | |
| link () | |
| paste () | |
| showLinkIntoMultipleObjectsTree () | |
| showPasteTree () | |
| showMoveIntoObjectTree () | |
| performPasteIntoMultipleObjects () | |
| clear () | |
| clear clipboard More... | |
| enableAdministrationPanel () | |
| disableAdministrationPanel () | |
| keepObjectsInClipboardObject () | |
| addLocator () | |
| autoComplete () | |
Public Member Functions inherited from ILIAS\Object\ImplementsCreationCallback | |
| callCreationCallback (\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb) | |
Data Fields | |
| int | $root_node |
| string | $combination |
| string | $string |
| int | $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 |
Protected Member Functions | |
| __performDetailsSearch (ilQueryParser $query_parser, ilSearchResult $result) | |
| parseStartDateFromCreationFilter () | |
| parseEndDateFromCreationFilter () | |
Protected Member Functions inherited from ilSearchBaseGUI | |
| initPageNumberFromQuery () | |
| addPager ($result, string $a_session_key) | |
| buildSearchAreaPath (int $a_root_node) | |
| getSearchCache () | |
| loadCreationFilter () | |
| renderSearch (string $term, int $root_node=0) | |
| renderFilter (int $root_node) | |
| initFilter (int $mode) | |
| getStringArrayTransformation () | |
Protected Attributes | |
| ilTabsGUI | $tabs_gui |
| ilHelpGUI | $help_gui |
| UIFactory | $ui_factory |
| UIRenderer | $ui_renderer |
Protected Attributes inherited from ilSearchBaseGUI | |
| ilUserSearchCache | $search_cache |
| string | $search_mode = '' |
| ilSearchSettings | $settings |
| ilPropertyFormGUI | $form = null |
| ilSearchFilterGUI | $search_filter = null |
| array | $search_filter_data = null |
| ClipboardManager | $clipboard |
| ViewManager | $container_view_manager |
| ilFavouritesManager | $favourites |
| ilCtrl | $ctrl |
| ILIAS | $ilias |
| ilLanguage | $lng |
| ilGlobalTemplateInterface | $tpl |
| ilLocatorGUI | $locator |
| ilObjUser | $user |
| ilTree | $tree |
| GlobalHttpState | $http |
| Factory | $refinery |
| ilLogger | $logger |
| string | $prev_link = '' |
| string | $next_link = '' |
Private Attributes | |
| array | $details |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilSearchGUI
GUI class for 'simple' search
Definition at line 37 of file class.ilSearchGUI.php.
| ilSearchGUI::__construct | ( | ) |
Constructor public.
Definition at line 54 of file class.ilSearchGUI.php.
References $DIC, $type, ILIAS\GlobalScreen\Provider\__construct(), ilSession\get(), ilSearchSettings\getInstance(), ilSearchBaseGUI\getSearchCache(), ilSearchBaseGUI\getStringArrayTransformation(), ILIAS\FileDelivery\http(), ilSearchBaseGUI\initFilter(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ilSearchBaseGUI\loadCreationFilter(), ilSearchSettings\OPERATOR_AND, ILIAS\Repository\refinery(), ROOT_FOLDER_ID, ilSession\set(), setCombination(), setDetails(), setString(), setType(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilSearchGUI::__getFilter | ( | ) |
Get object type for filter (If detail search is enabled)
Definition at line 643 of file class.ilSearchGUI.php.
References getDetails(), and getType().
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 553 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:
|
protected |
Definition at line 463 of file class.ilSearchGUI.php.
References __getFilter(), ilObjectSearchFactory\_getExerciseSearchInstance(), ilObjectSearchFactory\_getForumSearchInstance(), ilObjectSearchFactory\_getGlossaryDefinitionSearchInstance(), ilObjectSearchFactory\_getLMContentSearchInstance(), ilObjectSearchFactory\_getMediacastSearchInstance(), ilObjectSearchFactory\_getMediaPoolSearchInstance(), ilObjectSearchFactory\_getObjectSearchInstance(), ilObjectSearchFactory\_getTestSearchInstance(), ilObjectSearchFactory\_getWikiContentSearchInstance(), getDetails(), and ilSearchResult\mergeEntries().
Referenced by performSearch().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSearchGUI::__searchMeta | ( | ilQueryParser | $query_parser, |
| string | $a_type | ||
| ) |
Search in object meta data (keyword)
Definition at line 614 of file class.ilSearchGUI.php.
References __getFilter(), ilObjectSearchFactory\_getMetaDataSearchInstance(), and getType().
Referenced by performSearch().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSearchGUI::__searchObjects | ( | ilQueryParser | $query_parser | ) |
Search in obect title,desctiption.
Definition at line 567 of file class.ilSearchGUI.php.
References __getFilter(), ilObjectSearchFactory\_getObjectSearchInstance(), getType(), and parseCreationFilter().
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.
Definition at line 263 of file class.ilSearchGUI.php.
References $res, exit, ilSearchAutoComplete\getList(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilSearchGUI::executeCommand | ( | ) |
Control public.
Definition at line 146 of file class.ilSearchGUI.php.
References ILIAS\Repository\ctrl(), ilSearchBaseGUI\handleCommand(), and prepareOutput().
Here is the call graph for this function:| ilSearchGUI::getCombination | ( | ) |
Definition at line 194 of file class.ilSearchGUI.php.
Referenced by __parseQueryString().
Here is the caller graph for this function:| ilSearchGUI::getDetails | ( | ) |
Definition at line 222 of file class.ilSearchGUI.php.
Referenced by __getFilter(), __performDetailsSearch(), and performSearch().
Here is the caller graph for this function:| ilSearchGUI::getRootNode | ( | ) |
Definition at line 228 of file class.ilSearchGUI.php.
References ROOT_FOLDER_ID.
Referenced by performSearch(), showSavedResults(), and showSearch().
Here is the caller graph for this function:| ilSearchGUI::getString | ( | ) |
Definition at line 208 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 180 of file class.ilSearchGUI.php.
Referenced by __getFilter(), __searchMeta(), __searchObjects(), and performSearch().
Here is the caller graph for this function:| ilSearchGUI::parseCreationFilter | ( | ilObjectSearch | $search | ) |
Definition at line 577 of file class.ilSearchGUI.php.
References parseEndDateFromCreationFilter(), parseStartDateFromCreationFilter(), ilObjectSearch\setCreationDateFilterEndDate(), and ilObjectSearch\setCreationDateFilterStartDate().
Referenced by __searchObjects().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 600 of file class.ilSearchGUI.php.
References ilSearchBaseGUI\getSearchCache(), and IL_CAL_DATE.
Referenced by parseCreationFilter(), and performSearch().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 591 of file class.ilSearchGUI.php.
References ilSearchBaseGUI\getSearchCache(), and IL_CAL_DATE.
Referenced by parseCreationFilter(), and performSearch().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSearchGUI::performSearch | ( | ) |
Perform search.
Definition at line 356 of file class.ilSearchGUI.php.
References __parseQueryString(), __performDetailsSearch(), __searchMeta(), __searchObjects(), ilSearchBaseGUI\addPager(), ilSession\clear(), getDetails(), ilSearchSettings\getInstance(), getRootNode(), getType(), ilSearchBaseGUI\initPageNumberFromQuery(), ILIAS\Repository\lng(), ilSearchResultPresentation\MODE_STANDARD, ilSearchSettings\OPERATOR_AND, parseEndDateFromCreationFilter(), parseStartDateFromCreationFilter(), ilSearchResult\read(), ilSearchBaseGUI\SEARCH_DETAILS, showSearch(), and ILIAS\Repository\user().
Referenced by performSearchFilter(), and remoteSearch().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSearchGUI::performSearchFilter | ( | ) |
Definition at line 348 of file class.ilSearchGUI.php.
References performSearch().
Here is the call graph for this function:| ilSearchGUI::prepareOutput | ( | ) |
Definition at line 440 of file class.ilSearchGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\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 239 of file class.ilSearchGUI.php.
References ILIAS\FileDelivery\http(), performSearch(), ILIAS\Repository\refinery(), setRootNode(), and setString().
Here is the call graph for this function:| ilSearchGUI::setCombination | ( | string | $a_combination | ) |
Set/get combination of search ('and' or 'or') public.
Definition at line 188 of file class.ilSearchGUI.php.
References ilSession\get(), and ilSession\set().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSearchGUI::setDetails | ( | array | $a_details | ) |
Set/get details (object types for details search) public.
Definition at line 216 of file class.ilSearchGUI.php.
References ilSession\get(), and ilSession\set().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSearchGUI::setRootNode | ( | int | $a_node_id | ) |
Definition at line 233 of file class.ilSearchGUI.php.
References ilSession\set().
Referenced by remoteSearch().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSearchGUI::setString | ( | string | $a_str | ) |
Set/get search string public.
Definition at line 202 of file class.ilSearchGUI.php.
References ilSession\get(), and ilSession\set().
Referenced by __construct(), and remoteSearch().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSearchGUI::setType | ( | int | $a_type | ) |
Set/get type of search (detail or 'fast' search) public.
Definition at line 173 of file class.ilSearchGUI.php.
References ilSession\get(), and ilSession\set().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSearchGUI::showSavedResults | ( | ) |
Definition at line 322 of file class.ilSearchGUI.php.
References ilSearchBaseGUI\addPager(), getRootNode(), ilSearchResultPresentation\MODE_STANDARD, ilSearchResult\read(), showSearch(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilSearchGUI::showSearch | ( | ) |
Definition at line 316 of file class.ilSearchGUI.php.
References getRootNode(), getString(), and ilSearchBaseGUI\renderSearch().
Referenced by performSearch(), and showSavedResults().
Here is the call graph for this function:
Here is the caller graph for this function:| string ilSearchGUI::$combination |
Definition at line 41 of file class.ilSearchGUI.php.
|
private |
Definition at line 39 of file class.ilSearchGUI.php.
|
protected |
Definition at line 46 of file class.ilSearchGUI.php.
| int ilSearchGUI::$root_node |
Definition at line 40 of file class.ilSearchGUI.php.
| string ilSearchGUI::$string |
Definition at line 42 of file class.ilSearchGUI.php.
Referenced by getString().
|
protected |
Definition at line 45 of file class.ilSearchGUI.php.
| int ilSearchGUI::$type |
Definition at line 43 of file class.ilSearchGUI.php.
Referenced by __construct().
|
protected |
Definition at line 47 of file class.ilSearchGUI.php.
|
protected |
Definition at line 48 of file class.ilSearchGUI.php.