|
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 ilLuceneSearchGUI:
Collaboration diagram for ilLuceneSearchGUI:Protected Member Functions | |
| getType () | |
| getDetails () | |
| Needed for base class search form. More... | |
| getMimeDetails () | |
| Needed for base class search form. More... | |
| remoteSearch () | |
| Search from main menu. More... | |
| showSavedResults () | |
| Show saved results. More... | |
| search () | |
| Search (button pressed) More... | |
| performSearch () | |
| Perform search. More... | |
| storeRoot () | |
| Store new root node. More... | |
| getTabs () | |
| get tabs More... | |
| initUserSearchCache () | |
| Init user search cache. More... | |
| fillAdminPanel () | |
| Put admin panel into template: More... | |
| addAdminPanelCommand (string $a_cmd, string $a_txt) | |
| Add a command to the admin panel. More... | |
| setAdminViewButton (string $a_link, string $a_txt) | |
| Show admin view button. More... | |
| setPageFormAction (string $a_action) | |
| showSearchForm () | |
| Show search form. More... | |
| parseCreationFilter () | |
| Parse creation date. More... | |
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 |
| ilHelpGUI | $help |
| ilLuceneAdvancedSearchFields | $fields |
| int | $root_node |
| array | $admin_panel_commands = [] |
| array | $admin_view_button = [] |
| array | $creation_selector = [] |
| string | $page_form_action = '' |
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 = '' |
Additional Inherited Members | |
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 |
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 @classDescription GUI for simple Lucene search
@ilCtrl_IsCalledBy ilLuceneSearchGUI: ilSearchControllerGUI @ilCtrl_Calls ilLuceneSearchGUI: ilPropertyFormGUI @ilCtrl_Calls ilLuceneSearchGUI: ilObjectGUI, ilContainerGUI @ilCtrl_Calls ilLuceneSearchGUI: ilObjCategoryGUI, ilObjCourseGUI, ilObjFolderGUI, ilObjGroupGUI @ilCtrl_Calls ilLuceneSearchGUI: ilObjStudyProgrammeGUI @ilCtrl_Calls ilLuceneSearchGUI: ilObjRootFolderGUI, ilObjectCopyGUI
Definition at line 35 of file class.ilLuceneSearchGUI.php.
| ilLuceneSearchGUI::__construct | ( | ) |
Constructor.
Reimplemented from ilSearchBaseGUI.
Definition at line 52 of file class.ilLuceneSearchGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), fields, ilLuceneAdvancedSearchFields\getInstance(), ILIAS\Repository\help(), initUserSearchCache(), and ILIAS\Repository\tabs().
Here is the call graph for this function:
|
protected |
Add a command to the admin panel.
Definition at line 495 of file class.ilLuceneSearchGUI.php.
| ilLuceneSearchGUI::executeCommand | ( | ) |
Execute Command.
Definition at line 67 of file class.ilLuceneSearchGUI.php.
References ilSearchBaseGUI\$form, ILIAS\Repository\ctrl(), ilSearchBaseGUI\getSearchAreaForm(), ilSearchBaseGUI\handleCommand(), ilSearchBaseGUI\initStandardSearchForm(), prepareOutput(), and ilSearchBaseGUI\SEARCH_FORM_LUCENE.
Here is the call graph for this function:
|
protected |
Put admin panel into template:
Definition at line 420 of file class.ilLuceneSearchGUI.php.
References $creation_selector, ilUtil\getImagePath(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Needed for base class search form.
Definition at line 122 of file class.ilLuceneSearchGUI.php.
|
protected |
Needed for base class search form.
Definition at line 131 of file class.ilLuceneSearchGUI.php.
|
protected |
get tabs
Definition at line 338 of file class.ilLuceneSearchGUI.php.
References ILIAS\Repository\ctrl(), fields, ilSearchSettings\getInstance(), ILIAS\Repository\help(), and ILIAS\Repository\tabs().
Referenced by prepareOutput().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 113 of file class.ilLuceneSearchGUI.php.
References ilSearchBaseGUI\SEARCH_DETAILS.
|
protected |
Init user search cache.
@access private
Definition at line 361 of file class.ilLuceneSearchGUI.php.
References $data, $type, ilUserSearchCache\_getInstance(), ilSearchSettings\getInstance(), ILIAS\FileDelivery\http(), ilSearchBaseGUI\initPageNumberFromQuery(), ilSearchBaseGUI\loadCreationFilter(), ilUserSearchCache\LUCENE_DEFAULT, ILIAS\Repository\refinery(), and ILIAS\Repository\user().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Parse creation date.
Definition at line 567 of file class.ilLuceneSearchGUI.php.
References IL_CAL_DATE, IL_CAL_DAY, and IL_CAL_UNIX.
Referenced by performSearch().
Here is the caller graph for this function:
|
protected |
Perform search.
Definition at line 235 of file class.ilLuceneSearchGUI.php.
References $query, ilSearchBaseGUI\addPager(), ilSession\clear(), ilSearchSettings\getInstance(), ilLuceneSearcher\getInstance(), ilLuceneSearchResultFilter\getInstance(), ILIAS\Repository\lng(), parseCreationFilter(), ilLegacyFormElementsUtil\prepareFormOutput(), showSearchForm(), and ILIAS\Repository\user().
Referenced by search(), and storeRoot().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLuceneSearchGUI::prepareOutput | ( | ) |
Add admin panel command.
Reimplemented from ilSearchBaseGUI.
Definition at line 104 of file class.ilLuceneSearchGUI.php.
References getTabs().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Search from main menu.
Definition at line 139 of file class.ilLuceneSearchGUI.php.
References $query, ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), ROOT_FOLDER_ID, search(), and ilUtil\stripSlashes().
Here is the call graph for this function:
|
protected |
Search (button pressed)
Definition at line 215 of file class.ilLuceneSearchGUI.php.
References ilSession\clear(), ILIAS\Repository\form(), performSearch(), ilSubItemListGUI\resetDetails(), and showSearchForm().
Referenced by remoteSearch().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Show admin view button.
Definition at line 504 of file class.ilLuceneSearchGUI.php.
|
protected |
Definition at line 510 of file class.ilLuceneSearchGUI.php.
|
protected |
Show saved results.
Definition at line 170 of file class.ilLuceneSearchGUI.php.
References ilSearchBaseGUI\addPager(), ilLuceneSearcher\getInstance(), ilLuceneSearchResultFilter\getInstance(), ILIAS\Repository\lng(), ilLegacyFormElementsUtil\prepareFormOutput(), showSearchForm(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Show search form.
Definition at line 519 of file class.ilLuceneSearchGUI.php.
References ilGlyphGUI\CARET, ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ilGlyphGUI\get(), ilSearchBaseGUI\getCreationDateForm(), ilSearchSettings\getInstance(), ilSubmitButton\getInstance(), ilSearchBaseGUI\getSearchAreaForm(), ILIAS\Repository\lng(), ilSearchSettings\OPERATOR_AND, and ilLegacyFormElementsUtil\prepareFormOutput().
Referenced by performSearch(), search(), 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 321 of file class.ilLuceneSearchGUI.php.
References ilSearchBaseGUI\$form, ilPropertyFormGUI\getItemByPostVar(), ilSearchBaseGUI\getSearchAreaForm(), performSearch(), and ilSubItemListGUI\resetDetails().
Here is the call graph for this function:
|
protected |
Definition at line 43 of file class.ilLuceneSearchGUI.php.
|
protected |
Definition at line 44 of file class.ilLuceneSearchGUI.php.
|
protected |
Definition at line 45 of file class.ilLuceneSearchGUI.php.
Referenced by fillAdminPanel().
|
protected |
Definition at line 40 of file class.ilLuceneSearchGUI.php.
|
protected |
Definition at line 38 of file class.ilLuceneSearchGUI.php.
|
protected |
Definition at line 47 of file class.ilLuceneSearchGUI.php.
|
protected |
Definition at line 42 of file class.ilLuceneSearchGUI.php.
|
protected |
Definition at line 37 of file class.ilLuceneSearchGUI.php.