ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
GUI for simple Lucene search More...
Public Member Functions | |
__construct () | |
Constructor. More... | |
executeCommand () | |
Execute Command. More... | |
prepareOutput () | |
Add admin panel command. More... | |
Public Member Functions inherited from ilSearchBaseGUI | |
__construct () | |
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... | |
keepObjectsInClipboardObject () | |
cancel action but keep objects in clipboard
| |
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... | |
parseCreationFilter () | |
Parse creation date. More... | |
Protected Member Functions inherited from ilSearchBaseGUI | |
addPager ($result, $a_session_key) | |
Add Pager. More... | |
buildSearchAreaPath ($a_root_node) | |
Build path for search area. More... | |
getCreationDateForm () | |
getSearchCache () | |
Get user search cache. More... | |
loadCreationFilter () | |
Load creation date filter. More... | |
Protected Attributes | |
$ilTabs | |
Protected Attributes inherited from ilSearchBaseGUI | |
$settings = null | |
$ctrl = null | |
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 |
$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 498 of file class.ilLuceneSearchGUI.php.
References array.
ilLuceneSearchGUI::executeCommand | ( | ) |
Execute Command.
Definition at line 64 of file class.ilLuceneSearchGUI.php.
References $form, $ilBench, $ilCtrl, ilSearchBaseGUI\getSearchAreaForm(), ilSearchBaseGUI\handleCommand(), ilSearchBaseGUI\initStandardSearchForm(), prepareOutput(), and ilSearchBaseGUI\SEARCH_FORM_LUCENE.
|
protected |
Put admin panel into template:
Definition at line 421 of file class.ilLuceneSearchGUI.php.
References ilSearchBaseGUI\$lng, and ilUtil\getImagePath().
|
protected |
Needed for base class search form.
Definition at line 130 of file class.ilLuceneSearchGUI.php.
References array.
|
protected |
Needed for base class search form.
Definition at line 140 of file class.ilLuceneSearchGUI.php.
References array.
|
protected |
get tabs
Definition at line 349 of file class.ilLuceneSearchGUI.php.
References fields, and ilSearchSettings\getInstance().
Referenced by prepareOutput().
|
protected |
Get type of search (details | fast)
Definition at line 117 of file class.ilLuceneSearchGUI.php.
References ilSearchBaseGUI\SEARCH_DETAILS, and ilSearchBaseGUI\SEARCH_FAST.
|
protected |
Init user search cache.
private
Definition at line 374 of file class.ilLuceneSearchGUI.php.
References $_GET, $_POST, $data, $ilUser, $type, ilUserSearchCache\_getInstance(), array, ilSearchSettings\getInstance(), ilSearchBaseGUI\loadCreationFilter(), ilUserSearchCache\LUCENE_DEFAULT, and ilUtil\stripSlashes().
Referenced by __construct().
|
protected |
Parse creation date.
Definition at line 579 of file class.ilLuceneSearchGUI.php.
References $options, IL_CAL_DATE, IL_CAL_DAY, IL_CAL_UNIX, and time.
Referenced by performSearch().
|
protected |
Perform search.
Definition at line 241 of file class.ilLuceneSearchGUI.php.
References $_SESSION, $ilBench, $ilUser, $query, ilSearchBaseGUI\addPager(), array, ilSearchSettings\getInstance(), ilLuceneSearcher\getInstance(), ilLuceneSearchResultFilter\getInstance(), parseCreationFilter(), ilUtil\sendInfo(), showSearchForm(), and string.
Referenced by search(), and storeRoot().
ilLuceneSearchGUI::prepareOutput | ( | ) |
Add admin panel command.
Definition at line 105 of file class.ilLuceneSearchGUI.php.
References getTabs().
Referenced by executeCommand().
|
protected |
Search from main menu.
Definition at line 148 of file class.ilLuceneSearchGUI.php.
References $_POST, $query, search(), and ilUtil\stripSlashes().
|
protected |
Search (button pressed)
Definition at line 217 of file class.ilLuceneSearchGUI.php.
References $_SESSION, performSearch(), ilSubItemListGUI\resetDetails(), and showSearchForm().
Referenced by remoteSearch().
|
protected |
Show admin view button.
Definition at line 507 of file class.ilLuceneSearchGUI.php.
References array.
|
protected |
Definition at line 513 of file class.ilLuceneSearchGUI.php.
|
protected |
Show saved results.
Definition at line 169 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 522 of file class.ilLuceneSearchGUI.php.
References $ilCtrl, ilSearchBaseGUI\$lng, ilGlyphGUI\CARET, ilGlyphGUI\get(), ilSearchBaseGUI\getCreationDateForm(), 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 331 of file class.ilLuceneSearchGUI.php.
References $form, ilSearchBaseGUI\getSearchAreaForm(), performSearch(), and ilSubItemListGUI\resetDetails().
|
protected |
Definition at line 46 of file class.ilLuceneSearchGUI.php.
Referenced by __construct().