ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
Class ilSearchGUI. More...
Public Member Functions | |
__construct () | |
Constructor public. More... | |
executeCommand () | |
Control public. More... | |
setType (int $a_type) | |
Set/get type of search (detail or 'fast' search) public. More... | |
getType () | |
setCombination (string $a_combination) | |
Set/get combination of search ('and' or 'or') public. More... | |
getCombination () | |
setString (string $a_str) | |
Set/get search string public. More... | |
getString () | |
setDetails (array $a_details) | |
Set/get details (object types for details search) public. More... | |
getDetails () | |
getRootNode () | |
setRootNode (int $a_node_id) | |
remoteSearch () | |
autoComplete () | |
Data resource for autoComplete. More... | |
showSearch () | |
showSavedResults () | |
performSearchFilter () | |
performSearch () | |
Perform search. More... | |
prepareOutput () | |
__parseQueryString () | |
parse query string, using query parser instance More... | |
__searchObjects (ilQueryParser $query_parser) | |
Search in obect title,desctiption. More... | |
parseCreationFilter (ilObjectSearch $search) | |
__searchMeta (ilQueryParser $query_parser, string $a_type) | |
Search in object meta data (keyword) More... | |
__getFilter () | |
Get object type for filter (If detail search is enabled) More... | |
![]() | |
__construct () | |
prepareOutput () | |
initStandardSearchForm (int $a_mode) | |
handleCommand (string $a_cmd) | |
addToDeskObject () | |
removeFromDeskObject () | |
delete () | |
Show delete confirmation. More... | |
cancelDelete () | |
Cancel delete. More... | |
cancelObject () | |
cancelMoveLinkObject () | |
performDelete () | |
cut () | |
link () | |
paste () | |
showLinkIntoMultipleObjectsTree () | |
showPasteTree () | |
showMoveIntoObjectTree () | |
performPasteIntoMultipleObjects () | |
clear () | |
clear clipboard More... | |
enableAdministrationPanel () | |
disableAdministrationPanel () | |
keepObjectsInClipboardObject () | |
addLocator () | |
autoComplete () | |
![]() | |
callCreationCallback (\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb) | |
Data Fields | |
int | $root_node |
string | $combination |
string | $string |
int | $type |
![]() | |
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 |
Protected Member Functions | |
__performDetailsSearch (ilQueryParser $query_parser, ilSearchResult $result) | |
parseStartDateFromCreationFilter () | |
parseEndDateFromCreationFilter () | |
![]() | |
initPageNumberFromQuery () | |
addPager ($result, string $a_session_key) | |
buildSearchAreaPath (int $a_root_node) | |
getSearchCache () | |
loadCreationFilter () | |
renderSearch (string $term, int $root_node=0) | |
renderFilter (int $root_node) | |
initFilter (int $mode) | |
getStringArrayTransformation () | |
Protected Attributes | |
ilTabsGUI | $tabs_gui |
ilHelpGUI | $help_gui |
UIFactory | $ui_factory |
UIRenderer | $ui_renderer |
![]() | |
ilUserSearchCache | $search_cache |
string | $search_mode = '' |
ilSearchSettings | $settings |
ilPropertyFormGUI | $form = null |
ilSearchFilterGUI | $search_filter = null |
array | $search_filter_data = 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 = '' |
Private Attributes | |
array | $details |
Class ilSearchGUI.
GUI class for 'simple' search
Definition at line 37 of file class.ilSearchGUI.php.
ilSearchGUI::__construct | ( | ) |
Constructor public.
Definition at line 54 of file class.ilSearchGUI.php.
References $DIC, $type, ILIAS\GlobalScreen\Provider\__construct(), ilSession\get(), ilSearchSettings\getInstance(), ilSearchBaseGUI\getSearchCache(), ilSearchBaseGUI\getStringArrayTransformation(), ILIAS\FileDelivery\http(), ilSearchBaseGUI\initFilter(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ilSearchBaseGUI\loadCreationFilter(), null, ilSearchSettings\OPERATOR_AND, ILIAS\Repository\refinery(), ROOT_FOLDER_ID, ilSession\set(), setCombination(), setDetails(), setString(), setType(), and ilUtil\stripSlashes().
ilSearchGUI::__getFilter | ( | ) |
Get object type for filter (If detail search is enabled)
Definition at line 643 of file class.ilSearchGUI.php.
References getDetails(), and getType().
Referenced by __performDetailsSearch(), __searchMeta(), and __searchObjects().
ilSearchGUI::__parseQueryString | ( | ) |
parse query string, using query parser instance
Definition at line 553 of file class.ilSearchGUI.php.
References getCombination(), getString(), and ilUtil\stripSlashes().
Referenced by performSearch().
|
protected |
Definition at line 463 of file class.ilSearchGUI.php.
References __getFilter(), ilObjectSearchFactory\_getExerciseSearchInstance(), ilObjectSearchFactory\_getForumSearchInstance(), ilObjectSearchFactory\_getGlossaryDefinitionSearchInstance(), ilObjectSearchFactory\_getLMContentSearchInstance(), ilObjectSearchFactory\_getMediacastSearchInstance(), ilObjectSearchFactory\_getMediaPoolSearchInstance(), ilObjectSearchFactory\_getObjectSearchInstance(), ilObjectSearchFactory\_getTestSearchInstance(), ilObjectSearchFactory\_getWikiContentSearchInstance(), getDetails(), and ilSearchResult\mergeEntries().
Referenced by performSearch().
ilSearchGUI::__searchMeta | ( | ilQueryParser | $query_parser, |
string | $a_type | ||
) |
Search in object meta data (keyword)
Definition at line 614 of file class.ilSearchGUI.php.
References __getFilter(), ilObjectSearchFactory\_getMetaDataSearchInstance(), and getType().
Referenced by performSearch().
ilSearchGUI::__searchObjects | ( | ilQueryParser | $query_parser | ) |
Search in obect title,desctiption.
Definition at line 567 of file class.ilSearchGUI.php.
References __getFilter(), ilObjectSearchFactory\_getObjectSearchInstance(), getType(), and parseCreationFilter().
Referenced by performSearch().
ilSearchGUI::autoComplete | ( | ) |
Data resource for autoComplete.
Definition at line 263 of file class.ilSearchGUI.php.
References $res, exit, ilSearchAutoComplete\getList(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
ilSearchGUI::executeCommand | ( | ) |
Control public.
Definition at line 146 of file class.ilSearchGUI.php.
References ILIAS\Repository\ctrl(), ilSearchBaseGUI\handleCommand(), and prepareOutput().
ilSearchGUI::getCombination | ( | ) |
Definition at line 194 of file class.ilSearchGUI.php.
Referenced by __parseQueryString().
ilSearchGUI::getDetails | ( | ) |
Definition at line 222 of file class.ilSearchGUI.php.
Referenced by __getFilter(), __performDetailsSearch(), and performSearch().
ilSearchGUI::getRootNode | ( | ) |
Definition at line 228 of file class.ilSearchGUI.php.
References ROOT_FOLDER_ID.
Referenced by performSearch(), showSavedResults(), and showSearch().
ilSearchGUI::getString | ( | ) |
Definition at line 208 of file class.ilSearchGUI.php.
References $string.
Referenced by __parseQueryString(), and showSearch().
ilSearchGUI::getType | ( | ) |
Definition at line 180 of file class.ilSearchGUI.php.
Referenced by __getFilter(), __searchMeta(), __searchObjects(), and performSearch().
ilSearchGUI::parseCreationFilter | ( | ilObjectSearch | $search | ) |
Definition at line 577 of file class.ilSearchGUI.php.
References parseEndDateFromCreationFilter(), parseStartDateFromCreationFilter(), ilObjectSearch\setCreationDateFilterEndDate(), and ilObjectSearch\setCreationDateFilterStartDate().
Referenced by __searchObjects().
|
protected |
Definition at line 600 of file class.ilSearchGUI.php.
References ilSearchBaseGUI\getSearchCache(), IL_CAL_DATE, and null.
Referenced by parseCreationFilter(), and performSearch().
|
protected |
Definition at line 591 of file class.ilSearchGUI.php.
References ilSearchBaseGUI\getSearchCache(), IL_CAL_DATE, and null.
Referenced by parseCreationFilter(), and performSearch().
ilSearchGUI::performSearch | ( | ) |
Perform search.
Definition at line 356 of file class.ilSearchGUI.php.
References __parseQueryString(), __performDetailsSearch(), __searchMeta(), __searchObjects(), ilSearchBaseGUI\addPager(), ilSession\clear(), getDetails(), ilSearchSettings\getInstance(), getRootNode(), getType(), ilSearchBaseGUI\initPageNumberFromQuery(), ILIAS\Repository\lng(), ilSearchResultPresentation\MODE_STANDARD, ilSearchSettings\OPERATOR_AND, parseEndDateFromCreationFilter(), parseStartDateFromCreationFilter(), ilSearchResult\read(), ilSearchBaseGUI\SEARCH_DETAILS, showSearch(), and ILIAS\Repository\user().
Referenced by performSearchFilter(), and remoteSearch().
ilSearchGUI::performSearchFilter | ( | ) |
Definition at line 348 of file class.ilSearchGUI.php.
References performSearch().
ilSearchGUI::prepareOutput | ( | ) |
Definition at line 440 of file class.ilSearchGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\settings().
Referenced by executeCommand().
ilSearchGUI::remoteSearch | ( | ) |
Definition at line 239 of file class.ilSearchGUI.php.
References ILIAS\FileDelivery\http(), performSearch(), ILIAS\Repository\refinery(), setRootNode(), and setString().
ilSearchGUI::setCombination | ( | string | $a_combination | ) |
Set/get combination of search ('and' or 'or') public.
Definition at line 188 of file class.ilSearchGUI.php.
References ilSession\get(), and ilSession\set().
Referenced by __construct().
ilSearchGUI::setDetails | ( | array | $a_details | ) |
Set/get details (object types for details search) public.
Definition at line 216 of file class.ilSearchGUI.php.
References ilSession\get(), and ilSession\set().
Referenced by __construct().
ilSearchGUI::setRootNode | ( | int | $a_node_id | ) |
Definition at line 233 of file class.ilSearchGUI.php.
References ilSession\set().
Referenced by remoteSearch().
ilSearchGUI::setString | ( | string | $a_str | ) |
Set/get search string public.
Definition at line 202 of file class.ilSearchGUI.php.
References ilSession\get(), and ilSession\set().
Referenced by __construct(), and remoteSearch().
ilSearchGUI::setType | ( | int | $a_type | ) |
Set/get type of search (detail or 'fast' search) public.
Definition at line 173 of file class.ilSearchGUI.php.
References ilSession\get(), and ilSession\set().
Referenced by __construct().
ilSearchGUI::showSavedResults | ( | ) |
Definition at line 322 of file class.ilSearchGUI.php.
References ilSearchBaseGUI\addPager(), getRootNode(), ilSearchResultPresentation\MODE_STANDARD, ilSearchResult\read(), showSearch(), and ILIAS\Repository\user().
ilSearchGUI::showSearch | ( | ) |
Definition at line 316 of file class.ilSearchGUI.php.
References getRootNode(), getString(), and ilSearchBaseGUI\renderSearch().
Referenced by performSearch(), and showSavedResults().
string ilSearchGUI::$combination |
Definition at line 41 of file class.ilSearchGUI.php.
|
private |
Definition at line 39 of file class.ilSearchGUI.php.
|
protected |
Definition at line 46 of file class.ilSearchGUI.php.
int ilSearchGUI::$root_node |
Definition at line 40 of file class.ilSearchGUI.php.
string ilSearchGUI::$string |
Definition at line 42 of file class.ilSearchGUI.php.
Referenced by getString().
|
protected |
Definition at line 45 of file class.ilSearchGUI.php.
int ilSearchGUI::$type |
Definition at line 43 of file class.ilSearchGUI.php.
Referenced by __construct().
|
protected |
Definition at line 47 of file class.ilSearchGUI.php.
|
protected |
Definition at line 48 of file class.ilSearchGUI.php.