ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
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... | |
![]() | |
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 = '' |
![]() | |
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 | |
![]() | |
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 GUI for simple Lucene search
ilLuceneSearchGUI: ilSearchControllerGUI ilLuceneSearchGUI: ilPropertyFormGUI ilLuceneSearchGUI: ilObjectGUI, ilContainerGUI ilLuceneSearchGUI: ilObjCategoryGUI, ilObjCourseGUI, ilObjFolderGUI, ilObjGroupGUI ilLuceneSearchGUI: ilObjStudyProgrammeGUI ilLuceneSearchGUI: ilObjRootFolderGUI, ilObjectCopyGUI
Definition at line 35 of file class.ilLuceneSearchGUI.php.
ilLuceneSearchGUI::__construct | ( | ) |
Constructor.
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().
|
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.
|
protected |
Put admin panel into template:
Definition at line 420 of file class.ilLuceneSearchGUI.php.
References ilUtil\getImagePath(), and ILIAS\Repository\lng().
|
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().
|
protected |
Definition at line 113 of file class.ilLuceneSearchGUI.php.
|
protected |
Init user search cache.
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().
|
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().
|
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().
ilLuceneSearchGUI::prepareOutput | ( | ) |
Add admin panel command.
Definition at line 104 of file class.ilLuceneSearchGUI.php.
References getTabs().
Referenced by executeCommand().
|
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().
|
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().
|
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(), ilLuceneQueryParser\parse(), ilLegacyFormElementsUtil\prepareFormOutput(), showSearchForm(), and ILIAS\Repository\user().
|
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(), ilSubmitButton\getInstance(), ilSearchSettings\getInstance(), ilSearchBaseGUI\getSearchAreaForm(), ILIAS\Repository\lng(), ilSearchSettings\OPERATOR_AND, and ilLegacyFormElementsUtil\prepareFormOutput().
Referenced by performSearch(), search(), and showSavedResults().
|
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().
|
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.
|
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.