ILIAS
Release_4_4_x_branch Revision 61816
|
GUI for simple Lucene search More...
Public Member Functions | |
__construct () | |
Constructor. | |
executeCommand () | |
Execute Command. | |
prepareOutput () | |
Add admin panel command. | |
Public Member Functions inherited from ilSearchBaseGUI | |
ilSearchBaseGUI () | |
Constructor public. | |
initStandardSearchForm ($a_mode) | |
Init standard search form. | |
getSearchAreaForm () | |
Init standard search form. | |
handleCommand ($a_cmd) | |
Handle command. | |
addToDeskObject () | |
Interface methods. | |
removeFromDeskObject () | |
Remove from dektop. | |
delete () | |
Show deletion screen. | |
cancelDelete () | |
Cancel delete. | |
performDelete () | |
Delete objects. | |
cut () | |
Interface ilAdministrationCommandHandler. | |
link () | |
Interface ilAdministrationCommandHandler. | |
paste () | |
Paste. | |
showLinkIntoMultipleObjectsTree () | |
Target selection link. | |
showMoveIntoObjectTree () | |
Target selection cut. | |
performPasteIntoMultipleObjects () | |
Perform paste into multiple objects. | |
clear () | |
clear clipboard | |
enableAdministrationPanel () | |
Enable administration panel. | |
disableAdministrationPanel () | |
Disable administration panel. | |
addLocator () | |
Add Locator. | |
autoComplete () | |
Data resource for autoComplete. |
Protected Member Functions | |
getType () | |
Get type of search (details | fast) | |
getDetails () | |
Needed for base class search form. | |
getMimeDetails () | |
Needed for base class search form. | |
remoteSearch () | |
Search from main menu. | |
showSavedResults () | |
Show saved results. | |
search () | |
Search (button pressed) | |
performSearch () | |
Perform search. | |
storeRoot () | |
Store new root node. | |
getTabs () | |
get tabs | |
initUserSearchCache () | |
Init user search cache. | |
fillAdminPanel () | |
Put admin panel into template: | |
addAdminPanelCommand ($a_cmd, $a_txt) | |
Add a command to the admin panel. | |
setAdminViewButton ($a_link, $a_txt) | |
Show admin view button. | |
setPageFormAction ($a_action) | |
showSearchForm () | |
Show search form. | |
Protected Member Functions inherited from ilSearchBaseGUI | |
addPager ($result, $a_session_key) | |
Add Pager. | |
buildSearchAreaPath ($a_root_node) | |
Build path for search area. |
Protected Attributes | |
$ilTabs | |
Protected Attributes inherited from ilSearchBaseGUI | |
$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 |
$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 508 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 432 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 352 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 381 of file class.ilLuceneSearchGUI.php.
References $_GET, $_POST, $ilUser, ilUserSearchCache\_getInstance(), ilSearchSettings\getInstance(), ilUserSearchCache\LUCENE_DEFAULT, and ilUtil\stripSlashes().
Referenced by __construct().
|
protected |
Perform search.
Definition at line 242 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.
Reimplemented from ilSearchBaseGUI.
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, 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 517 of file class.ilLuceneSearchGUI.php.
|
protected |
Definition at line 523 of file class.ilLuceneSearchGUI.php.
|
protected |
Show saved results.
Definition at line 165 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 532 of file class.ilLuceneSearchGUI.php.
References $ilCtrl, ilSearchBaseGUI\$lng, ilUtil\getImagePath(), ilSearchSettings\getInstance(), ilSearchBaseGUI\getSearchAreaForm(), ilUtil\img(), ilOverlayGUI\initJavascript(), ilSearchSettings\OPERATOR_AND, and ilUtil\prepareFormOutput().
Referenced by performSearch(), search(), and showSavedResults().
|
protected |
Store new root node.
Definition at line 334 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().