|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
@classDescription GUI for simple Lucene search More...
Inheritance diagram for ilLuceneSearchGUI:
Collaboration diagram for ilLuceneSearchGUI:Public Member Functions | |
| __construct () | |
| Constructor. More... | |
| executeCommand () | |
| Execute Command. More... | |
| prepareOutput () | |
| Add admin panel command. More... | |
Public Member Functions inherited from ilSearchBaseGUI | |
| __construct () | |
| Constructor @access 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... | |
| cancelObject () | |
| 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... | |
| showPasteTree () | |
| 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... | |
| addToDeskObject () | |
| Add desktop item @access public. More... | |
| removeFromDeskObject () | |
| Remove from desktop @access public. More... | |
| delete () | |
| Show delete confirmation. More... | |
| cancelDelete () | |
| Cancel delete. More... | |
| performDelete () | |
| Perform Delete. More... | |
| cut () | |
| Cut object. More... | |
| showLinkIntoMultipleObjectsTree () | |
| Target selection link. More... | |
| showPasteTree () | |
| Target selection cut. More... | |
| performPasteIntoMultipleObjects () | |
| Perform paste into multiple objects. More... | |
| paste () | |
| Paste. More... | |
| clear () | |
| clear clipboard More... | |
| enableAdministrationPanel () | |
| Enable administration panel. More... | |
| disableAdministrationPanel () | |
| Disable administration panel. More... | |
| cancelMoveLinkObject () | |
| Cancel move/link. More... | |
| keepObjectsInClipboardObject () | |
| cancel action but keep objects in clipboard More... | |
Public Member Functions inherited from ILIAS\Object\ImplementsCreationCallback | |
| callCreationCallback (\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb) | |
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 | |
| $favourites | |
| $user | |
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 | |
@classDescription GUI for simple Lucene search
@ilCtrl_IsCalledBy ilLuceneSearchGUI: ilSearchController @ilCtrl_Calls ilLuceneSearchGUI: ilPropertyFormGUI @ilCtrl_Calls ilLuceneSearchGUI: ilObjectGUI, ilContainerGUI @ilCtrl_Calls ilLuceneSearchGUI: ilObjCategoryGUI, ilObjCourseGUI, ilObjFolderGUI, ilObjGroupGUI @ilCtrl_Calls ilLuceneSearchGUI: ilObjRootFolderGUI, ilObjectCopyGUI
Definition at line 43 of file class.ilLuceneSearchGUI.php.
| ilLuceneSearchGUI::__construct | ( | ) |
Constructor.
Reimplemented from ilSearchBaseGUI.
Definition at line 50 of file class.ilLuceneSearchGUI.php.
References $DIC, $ilTabs, ILIAS\GlobalScreen\Provider\__construct(), fields, ilLuceneAdvancedSearchFields\getInstance(), and initUserSearchCache().
Here is the call graph for this function:
|
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 $DIC, $ilBench, 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 435 of file class.ilLuceneSearchGUI.php.
References $DIC, ilSearchBaseGUI\$lng, and ilUtil\getImagePath().
Here is the call graph for this function:
|
protected |
Needed for base class search form.
Definition at line 134 of file class.ilLuceneSearchGUI.php.
|
protected |
Needed for base class search form.
Definition at line 144 of file class.ilLuceneSearchGUI.php.
|
protected |
get tabs
Definition at line 359 of file class.ilLuceneSearchGUI.php.
References $DIC, fields, and ilSearchSettings\getInstance().
Referenced by prepareOutput().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Get type of search (details | fast)
Definition at line 121 of file class.ilLuceneSearchGUI.php.
References ilSearchBaseGUI\SEARCH_DETAILS, and ilSearchBaseGUI\SEARCH_FAST.
|
protected |
Init user search cache.
@access private
Definition at line 386 of file class.ilLuceneSearchGUI.php.
References $_GET, $_POST, $data, $DIC, $ilUser, $type, ilUserSearchCache\_getInstance(), ilSearchSettings\getInstance(), ilSearchBaseGUI\loadCreationFilter(), ilUserSearchCache\LUCENE_DEFAULT, and ilUtil\stripSlashes().
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 600 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 248 of file class.ilLuceneSearchGUI.php.
References $_SESSION, $DIC, $ilBench, $ilUser, $query, ilSearchBaseGUI\addPager(), ilLuceneSearchResultFilter\getInstance(), ilSearchSettings\getInstance(), ilLuceneSearcher\getInstance(), parseCreationFilter(), ilUtil\sendInfo(), and showSearchForm().
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 109 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 152 of file class.ilLuceneSearchGUI.php.
References $_POST, $query, search(), and ilUtil\stripSlashes().
Here is the call graph for this function:
|
protected |
Search (button pressed)
Definition at line 224 of file class.ilLuceneSearchGUI.php.
References $_SESSION, 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 523 of file class.ilLuceneSearchGUI.php.
|
protected |
Definition at line 529 of file class.ilLuceneSearchGUI.php.
|
protected |
Show saved results.
Definition at line 173 of file class.ilLuceneSearchGUI.php.
References $DIC, $ilBench, $ilUser, ilSearchBaseGUI\addPager(), ilLuceneSearchResultFilter\getInstance(), ilLuceneSearcher\getInstance(), ilUtil\sendInfo(), and showSearchForm().
Here is the call graph for this function:
|
protected |
Show search form.
Definition at line 538 of file class.ilLuceneSearchGUI.php.
References $DIC, ilSearchBaseGUI\$lng, ilGlyphGUI\CARET, ilGlyphGUI\get(), ilSearchBaseGUI\getCreationDateForm(), ilSearchSettings\getInstance(), ilSubmitButton\getInstance(), ilSearchBaseGUI\getSearchAreaForm(), ilOverlayGUI\initJavascript(), ilSearchSettings\OPERATOR_AND, and ilUtil\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 341 of file class.ilLuceneSearchGUI.php.
References ilSearchBaseGUI\getSearchAreaForm(), performSearch(), and ilSubItemListGUI\resetDetails().
Here is the call graph for this function:
|
protected |
Definition at line 45 of file class.ilLuceneSearchGUI.php.
Referenced by __construct().