|
ILIAS
release_8 Revision v8.24
|
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 @access public. More... | |
| executeCommand () | |
| Control @access public. More... | |
| setType (int $a_type) | |
| Set/get type of search (detail or 'fast' search) @access public. More... | |
| getType () | |
| setCombination (string $a_combination) | |
| Set/get combination of search ('and' or 'or') @access public. More... | |
| getCombination () | |
| setString (string $a_str) | |
| Set/get search string @access public. More... | |
| getString () | |
| setDetails (array $a_details) | |
| Set/get details (object types for details search) @access public. More... | |
| getDetails () | |
| getRootNode () | |
| setRootNode (int $a_node_id) | |
| remoteSearch () | |
| autoComplete () | |
| Data resource for autoComplete. More... | |
| showSearch () | |
| showSavedResults () | |
| 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) | |
| getSearchAreaForm () | |
| handleCommand (string $a_cmd) | |
| addToDeskObject () | |
| Add desktop item @access public. More... | |
| removeFromDeskObject () | |
| Remove from desktop @access public. More... | |
| 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 () | |
| addToDeskObject () | |
| Add desktop item @access public. More... | |
| removeFromDeskObject () | |
| Remove from desktop @access public. More... | |
| delete () | |
| Show delete confirmation. More... | |
| cancelDelete () | |
| Cancel delete. More... | |
| performDelete () | |
| cut () | |
| showLinkIntoMultipleObjectsTree () | |
| showMoveIntoObjectTree () | |
| showPasteTree () | |
| performPasteIntoMultipleObjects () | |
| paste () | |
| clear () | |
| clear clipboard More... | |
| enableAdministrationPanel () | |
| disableAdministrationPanel () | |
| cancelMoveLinkObject () | |
| keepObjectsInClipboardObject () | |
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 | |
| storeRoot () | |
| Store new root node. More... | |
| __performDetailsSearch (ilQueryParser $query_parser, ilSearchResult $result) | |
| parseDateFromCreationFilter () | |
| parseOperatorFromCreationFilter () | |
Protected Member Functions inherited from ilSearchBaseGUI | |
| initPageNumberFromQuery () | |
| addPager ($result, string $a_session_key) | |
| buildSearchAreaPath (int $a_root_node) | |
| getCreationDateForm () | |
| getSearchCache () | |
| loadCreationFilter () | |
Protected Attributes | |
| ilTabsGUI | $tabs_gui |
| ilHelpGUI | $help_gui |
Protected Attributes inherited from ilSearchBaseGUI | |
| ilUserSearchCache | $search_cache |
| string | $search_mode = '' |
| ilSearchSettings | $settings |
| ilPropertyFormGUI | $form = 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 35 of file class.ilSearchGUI.php.
| ilSearchGUI::__construct | ( | ) |
Constructor @access public.
Reimplemented from ilSearchBaseGUI.
Definition at line 50 of file class.ilSearchGUI.php.
References $DIC, $type, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\form(), ilSession\get(), ilSearchSettings\getInstance(), ilSearchBaseGUI\getSearchCache(), ILIAS\FileDelivery\http(), ilSearchBaseGUI\initStandardSearchForm(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ilSearchBaseGUI\loadCreationFilter(), ilSearchSettings\OPERATOR_AND, ILIAS\Repository\refinery(), ROOT_FOLDER_ID, ilSearchBaseGUI\SEARCH_FAST, ilSearchBaseGUI\SEARCH_FORM_STANDARD, 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 718 of file class.ilSearchGUI.php.
References ILIAS\LTI\ToolProvider\$key, 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 614 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 523 of file class.ilSearchGUI.php.
References ILIAS\LTI\ToolProvider\$enabled, $type, __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 689 of file class.ilSearchGUI.php.
References __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 | ( | ilQueryParser | $query_parser | ) |
Search in obect title,desctiption.
Definition at line 628 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 284 of file class.ilSearchGUI.php.
References $query, $res, exit, ilSearchAutoComplete\getList(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilSearchGUI::executeCommand | ( | ) |
Control @access public.
Definition at line 144 of file class.ilSearchGUI.php.
References ilSearchBaseGUI\$form, ILIAS\Repository\ctrl(), ilSearchBaseGUI\getSearchAreaForm(), ilSearchBaseGUI\handleCommand(), and prepareOutput().
Here is the call graph for this function:| ilSearchGUI::getCombination | ( | ) |
Definition at line 200 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 228 of file class.ilSearchGUI.php.
Referenced by __getFilter(), __performDetailsSearch(), and performSearch().
Here is the caller graph for this function:| ilSearchGUI::getRootNode | ( | ) |
Definition at line 234 of file class.ilSearchGUI.php.
References ROOT_FOLDER_ID.
Referenced by performSearch(), and showSavedResults().
Here is the caller graph for this function:| ilSearchGUI::getString | ( | ) |
Definition at line 214 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 186 of file class.ilSearchGUI.php.
References ilSearchBaseGUI\SEARCH_FAST.
Referenced by __getFilter(), __searchMeta(), __searchObjects(), and performSearch().
Here is the caller graph for this function:| ilSearchGUI::parseCreationFilter | ( | ilObjectSearch | $search | ) |
Definition at line 638 of file class.ilSearchGUI.php.
References parseDateFromCreationFilter(), parseOperatorFromCreationFilter(), ilObjectSearch\setCreationDateFilterDate(), and ilObjectSearch\setCreationDateFilterOperator().
Referenced by __searchObjects().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 652 of file class.ilSearchGUI.php.
References ilSearchBaseGUI\getSearchCache(), and IL_CAL_UNIX.
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 661 of file class.ilSearchGUI.php.
References ilObjectSearch\CDATE_OPERATOR_AFTER, ilObjectSearch\CDATE_OPERATOR_BEFORE, ilObjectSearch\CDATE_OPERATOR_ON, and ilSearchBaseGUI\getSearchCache().
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 413 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, parseDateFromCreationFilter(), parseOperatorFromCreationFilter(), ilSearchBaseGUI\SEARCH_DETAILS, showSearch(), and ILIAS\Repository\user().
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 500 of file class.ilSearchGUI.php.
References 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 245 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') @access public.
Definition at line 194 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) @access public.
Definition at line 222 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 239 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 @access public.
Definition at line 208 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) @access public.
Definition at line 179 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 382 of file class.ilSearchGUI.php.
References ilSearchBaseGUI\addPager(), getRootNode(), ilSearchResultPresentation\MODE_STANDARD, showSearch(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilSearchGUI::showSearch | ( | ) |
Definition at line 337 of file class.ilSearchGUI.php.
References ilGlyphGUI\CARET, ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ilGlyphGUI\get(), ilSearchBaseGUI\getCreationDateForm(), ilSearchSettings\getInstance(), ilSubmitButton\getInstance(), ilSearchBaseGUI\getSearchAreaForm(), getString(), ilSearchBaseGUI\initStandardSearchForm(), ILIAS\Repository\lng(), ilSearchSettings\OPERATOR_AND, ilLegacyFormElementsUtil\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 269 of file class.ilSearchGUI.php.
References ilSearchBaseGUI\$form, ilPropertyFormGUI\getItemByPostVar(), ilSearchBaseGUI\getSearchAreaForm(), performSearch(), and ilSubItemListGUI\resetDetails().
Here is the call graph for this function:| string ilSearchGUI::$combination |
Definition at line 39 of file class.ilSearchGUI.php.
|
private |
Definition at line 37 of file class.ilSearchGUI.php.
|
protected |
Definition at line 44 of file class.ilSearchGUI.php.
| int ilSearchGUI::$root_node |
Definition at line 38 of file class.ilSearchGUI.php.
| string ilSearchGUI::$string |
Definition at line 40 of file class.ilSearchGUI.php.
Referenced by getString().
|
protected |
Definition at line 43 of file class.ilSearchGUI.php.
| int ilSearchGUI::$type |
Definition at line 41 of file class.ilSearchGUI.php.
Referenced by __construct(), and __performDetailsSearch().