ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
GUI for simple Lucene search More...
Public Member Functions | |
__construct () | |
Constructor. More... | |
executeCommand () | |
Execute Command. More... | |
prepareOutput () | |
Add admin panel command. More... | |
![]() | |
ilSearchBaseGUI () | |
Constructor 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... | |
showMoveIntoObjectTree () | |
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... | |
addLocator () | |
Add Locator. More... | |
autoComplete () | |
Data resource for autoComplete. More... | |
Protected Member Functions | |
getType () | |
Get type of search (details | fast) More... | |
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 ($a_cmd, $a_txt) | |
Add a command to the admin panel. More... | |
setAdminViewButton ($a_link, $a_txt) | |
Show admin view button. More... | |
setPageFormAction ($a_action) | |
showSearchForm () | |
Show search form. More... | |
![]() | |
addPager ($result, $a_session_key) | |
Add Pager. More... | |
buildSearchAreaPath ($a_root_node) | |
Build path for search area. More... | |
Protected Attributes | |
$ilTabs | |
![]() | |
$ctrl = null | |
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 |
$settings = null | |
$ilias = null | |
$lng = null | |
$tpl = null | |
GUI for simple Lucene search
ilLuceneSearchGUI: ilSearchController ilLuceneSearchGUI: ilPropertyFormGUI ilLuceneSearchGUI: ilObjectGUI, ilContainerGUI ilLuceneSearchGUI: ilObjCategoryGUI, ilObjCourseGUI, ilObjFolderGUI, ilObjGroupGUI ilLuceneSearchGUI: ilObjRootFolderGUI, ilObjectCopyGUI
Definition at line 44 of file class.ilLuceneSearchGUI.php.
ilLuceneSearchGUI::__construct | ( | ) |
Constructor.
Definition at line 51 of file class.ilLuceneSearchGUI.php.
References $ilTabs, fields, ilLuceneAdvancedSearchFields\getInstance(), and initUserSearchCache().
|
protected |
Add a command to the admin panel.
Definition at line 514 of file class.ilLuceneSearchGUI.php.
ilLuceneSearchGUI::executeCommand | ( | ) |
Execute Command.
Definition at line 65 of file class.ilLuceneSearchGUI.php.
References $cmd, $ilBench, $ilCtrl, ilSearchBaseGUI\getSearchAreaForm(), ilSearchBaseGUI\handleCommand(), ilSearchBaseGUI\initStandardSearchForm(), prepareOutput(), and ilSearchBaseGUI\SEARCH_FORM_LUCENE.
|
protected |
Put admin panel into template:
Definition at line 438 of file class.ilLuceneSearchGUI.php.
References $cmd, ilSearchBaseGUI\$lng, and ilUtil\getImagePath().
|
protected |
Needed for base class search form.
Definition at line 133 of file class.ilLuceneSearchGUI.php.
|
protected |
Needed for base class search form.
Definition at line 143 of file class.ilLuceneSearchGUI.php.
|
protected |
get tabs
Definition at line 359 of file class.ilLuceneSearchGUI.php.
References fields, and ilSearchSettings\getInstance().
Referenced by prepareOutput().
|
protected |
Get type of search (details | fast)
Definition at line 119 of file class.ilLuceneSearchGUI.php.
References ilSearchBaseGUI\SEARCH_DETAILS, and ilSearchBaseGUI\SEARCH_FAST.
|
protected |
Init user search cache.
private
Definition at line 387 of file class.ilLuceneSearchGUI.php.
References $_GET, $_POST, $data, $ilUser, ilUserSearchCache\_getInstance(), ilSearchSettings\getInstance(), ilUserSearchCache\LUCENE_DEFAULT, and ilUtil\stripSlashes().
Referenced by __construct().
|
protected |
Perform search.
Definition at line 249 of file class.ilLuceneSearchGUI.php.
References $_SESSION, $ilBench, $ilUser, ilSearchBaseGUI\addPager(), ilSearchSettings\getInstance(), ilLuceneSearcher\getInstance(), ilLuceneSearchResultFilter\getInstance(), ilUtil\sendInfo(), and showSearchForm().
Referenced by search(), and storeRoot().
ilLuceneSearchGUI::prepareOutput | ( | ) |
Add admin panel command.
Definition at line 107 of file class.ilLuceneSearchGUI.php.
References getTabs().
Referenced by executeCommand().
|
protected |
Search from main menu.
Definition at line 151 of file class.ilLuceneSearchGUI.php.
References $_POST, $query, search(), and ilUtil\stripSlashes().
|
protected |
Search (button pressed)
Definition at line 224 of file class.ilLuceneSearchGUI.php.
References $_SESSION, performSearch(), ilSubItemListGUI\resetDetails(), and showSearchForm().
Referenced by remoteSearch().
|
protected |
Show admin view button.
Definition at line 523 of file class.ilLuceneSearchGUI.php.
|
protected |
Definition at line 529 of file class.ilLuceneSearchGUI.php.
|
protected |
Show saved results.
Definition at line 172 of file class.ilLuceneSearchGUI.php.
References $ilBench, $ilUser, ilSearchBaseGUI\addPager(), ilLuceneSearcher\getInstance(), ilLuceneSearchResultFilter\getInstance(), ilLuceneQueryParser\parse(), ilUtil\sendInfo(), and showSearchForm().
|
protected |
Show search form.
Definition at line 538 of file class.ilLuceneSearchGUI.php.
References $ilCtrl, ilSearchBaseGUI\$lng, ilGlyphGUI\CARET, ilGlyphGUI\get(), ilSubmitButton\getInstance(), ilSearchSettings\getInstance(), ilSearchBaseGUI\getSearchAreaForm(), ilOverlayGUI\initJavascript(), ilSearchSettings\OPERATOR_AND, and ilUtil\prepareFormOutput().
Referenced by performSearch(), search(), and showSavedResults().
|
protected |
Store new root node.
Definition at line 341 of file class.ilLuceneSearchGUI.php.
References ilSearchBaseGUI\getSearchAreaForm(), performSearch(), and ilSubItemListGUI\resetDetails().
|
protected |
Definition at line 46 of file class.ilLuceneSearchGUI.php.
Referenced by __construct().