ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
ilAdvancedSearchGUI () | |
Constructor public. | |
getRootNode () | |
& | executeCommand () |
Control public. | |
reset () | |
searchInResults () | |
performSearch () | |
showAdvMDSearch () | |
Show advanced meta data search. | |
showSearch () | |
prepareOutput () | |
showSavedResults () | |
& | __performContentSearch () |
& | __performTitleSearch () |
& | __performGeneralSearch () |
& | __performLifecycleSearch () |
& | __performLanguageSearch () |
& | __performContributeSearch () |
& | __performEntitySearch () |
& | __performRequirementSearch () |
& | __performFormatSearch () |
& | __performEducationalSearch () |
& | __performTypicalAgeRangeSearch () |
& | __performRightsSearch () |
& | __performClassificationSearch () |
& | __performTaxonSearch () |
& | __performKeywordSearch () |
__setSearchOptions (&$post_vars) | |
__getFilterSelect () | |
__storeEntries ($res, $new_res) | |
setSubTabs () | |
set sub tabs | |
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. |
Data Fields | |
const | TYPE_LOM = 1 |
const | TYPE_ADV_MD = 2 |
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 |
Protected Member Functions | |
remoteSearch () | |
Search from main menu. | |
initAdvancedMetaDataForm () | |
protected | |
performAdvMDSearch () | |
perform advanced meta data search | |
initFormSearch () | |
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 | |
$last_section = 'adv_search' | |
$fields = array() | |
$tabs_gui | |
Protected Attributes inherited from ilSearchBaseGUI | |
$ctrl = null |
Private Member Functions | |
showSavedAdvMDResults () | |
show advanced meta data results | |
searchAdvancedMD ($res) | |
Perform advanced meta data search. | |
initUserSearchCache () | |
Init user search cache. | |
toUnixTime ($date, $time=array()) | |
convert input array to unix time | |
initSearchType ($type) | |
init search type (LOM Search or Advanced meta data search) |
Private Attributes | |
$options = array() | |
array of all options select boxes,'and' 'or' and query strings public |
Definition at line 43 of file class.ilAdvancedSearchGUI.php.
ilAdvancedSearchGUI::__getFilterSelect | ( | ) |
Definition at line 1054 of file class.ilAdvancedSearchGUI.php.
References $options, and ilUtil\formSelect().
& ilAdvancedSearchGUI::__performClassificationSearch | ( | ) |
Definition at line 847 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performContentSearch | ( | ) |
Definition at line 566 of file class.ilAdvancedSearchGUI.php.
References $res, __performTitleSearch(), ilObjectSearchFactory\_getGlossaryDefinitionSearchInstance(), ilObjectSearchFactory\_getLMContentSearchInstance(), ilObjectSearchFactory\_getMediaPoolSearchInstance(), ilObjectSearchFactory\_getTestSearchInstance(), ilObjectSearchFactory\_getWebresourceSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performContributeSearch | ( | ) |
Definition at line 728 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performEducationalSearch | ( | ) |
Definition at line 800 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performEntitySearch | ( | ) |
Definition at line 746 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performFormatSearch | ( | ) |
Definition at line 786 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performGeneralSearch | ( | ) |
Definition at line 657 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performKeywordSearch | ( | ) |
Definition at line 942 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performLanguageSearch | ( | ) |
Definition at line 710 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performLifecycleSearch | ( | ) |
Definition at line 687 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performRequirementSearch | ( | ) |
Definition at line 772 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performRightsSearch | ( | ) |
Definition at line 828 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performTaxonSearch | ( | ) |
Definition at line 867 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performTitleSearch | ( | ) |
Definition at line 624 of file class.ilAdvancedSearchGUI.php.
References ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by __performContentSearch(), and performAdvMDSearch().
& ilAdvancedSearchGUI::__performTypicalAgeRangeSearch | ( | ) |
Definition at line 814 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
ilAdvancedSearchGUI::__setSearchOptions | ( | & | $post_vars | ) |
Definition at line 966 of file class.ilAdvancedSearchGUI.php.
References $_POST, $_SESSION, and ilAdvancedMDRecord\_getActivatedObjTypes().
Referenced by ilAdvancedSearchGUI().
ilAdvancedSearchGUI::__storeEntries | ( | $res, | |
$new_res | |||
) |
Definition at line 1070 of file class.ilAdvancedSearchGUI.php.
References $res.
Referenced by performAdvMDSearch(), performSearch(), and searchAdvancedMD().
& ilAdvancedSearchGUI::executeCommand | ( | ) |
Control public.
Definition at line 90 of file class.ilAdvancedSearchGUI.php.
References $_SESSION, $cmd, ilSearchBaseGUI\handleCommand(), initUserSearchCache(), and prepareOutput().
ilAdvancedSearchGUI::getRootNode | ( | ) |
Definition at line 80 of file class.ilAdvancedSearchGUI.php.
Referenced by performAdvMDSearch(), and performSearch().
ilAdvancedSearchGUI::ilAdvancedSearchGUI | ( | ) |
Constructor public.
Definition at line 66 of file class.ilAdvancedSearchGUI.php.
References $_POST, __setSearchOptions(), fields, ilLuceneAdvancedSearchFields\getInstance(), and ilSearchBaseGUI\ilSearchBaseGUI().
|
protected |
protected
Definition at line 292 of file class.ilAdvancedSearchGUI.php.
References $options, ilAdvancedMDRecord\_getActivatedObjTypes(), ilRadioOption\addSubItem(), ilAdvancedMDRecordGUI\MODE_SEARCH, ilSelectInputGUI\setOptions(), and ilTextInputGUI\setValue().
Referenced by showAdvMDSearch().
|
protected |
Show search form.
Definition at line 431 of file class.ilAdvancedSearchGUI.php.
References $section, and fields.
Referenced by searchAdvancedMD(), and showSearch().
|
private |
init search type (LOM Search or Advanced meta data search)
private
Definition at line 1149 of file class.ilAdvancedSearchGUI.php.
References $_SESSION, ilUserSearchCache\ADVANCED_MD_SEARCH, ilUserSearchCache\ADVANCED_SEARCH, TYPE_ADV_MD, and TYPE_LOM.
Referenced by performAdvMDSearch(), performSearch(), reset(), searchInResults(), showSavedAdvMDResults(), and showSavedResults().
|
private |
Init user search cache.
private
Definition at line 1092 of file class.ilAdvancedSearchGUI.php.
References $_GET, $_POST, $ilUser, ilUserSearchCache\_getInstance(), ilUserSearchCache\ADVANCED_SEARCH, and ilUtil\stripSlashes().
Referenced by executeCommand().
|
protected |
perform advanced meta data search
protected
Definition at line 345 of file class.ilAdvancedSearchGUI.php.
References $_GET, $_SESSION, $ilUser, $res, __performTitleSearch(), __storeEntries(), ilSearchBaseGUI\addPager(), ADVANCED_MD_SEARCH, getRootNode(), initSearchType(), ilSearchResultPresentation\MODE_STANDARD, ilSearchResult\read(), searchAdvancedMD(), ilUtil\sendInfo(), and showAdvMDSearch().
ilAdvancedSearchGUI::performSearch | ( | ) |
Definition at line 168 of file class.ilAdvancedSearchGUI.php.
References $_GET, $_POST, $_SESSION, $ilUser, $res, __performClassificationSearch(), __performContentSearch(), __performContributeSearch(), __performEducationalSearch(), __performEntitySearch(), __performFormatSearch(), __performGeneralSearch(), __performKeywordSearch(), __performLanguageSearch(), __performLifecycleSearch(), __performRequirementSearch(), __performRightsSearch(), __performTaxonSearch(), __performTypicalAgeRangeSearch(), __storeEntries(), ilSearchBaseGUI\addPager(), ADVANCED_MD_SEARCH, ilSearchSettings\getInstance(), getRootNode(), initSearchType(), ilSearchResultPresentation\MODE_STANDARD, ilSearchSettings\OPERATOR_AND, ilSearchResult\read(), searchAdvancedMD(), ilUtil\sendInfo(), and showSearch().
Referenced by remoteSearch(), and searchInResults().
ilAdvancedSearchGUI::prepareOutput | ( | ) |
Reimplemented from ilSearchBaseGUI.
Definition at line 479 of file class.ilAdvancedSearchGUI.php.
Referenced by executeCommand().
|
protected |
Search from main menu.
Definition at line 153 of file class.ilAdvancedSearchGUI.php.
References $_POST, performSearch(), and ilUtil\stripSlashes().
ilAdvancedSearchGUI::reset | ( | ) |
Definition at line 130 of file class.ilAdvancedSearchGUI.php.
References initSearchType(), and showSearch().
|
private |
Perform advanced meta data search.
private
obj | result object |
Definition at line 897 of file class.ilAdvancedSearchGUI.php.
References $res, __storeEntries(), ilObjectSearchFactory\_getAdvancedMDSearchInstance(), ilADTFactory\getInstance(), ilAdvancedMDFieldDefinition\getInstance(), and initFormSearch().
Referenced by performAdvMDSearch(), and performSearch().
ilAdvancedSearchGUI::searchInResults | ( | ) |
Definition at line 139 of file class.ilAdvancedSearchGUI.php.
References $_SESSION, initSearchType(), and performSearch().
ilAdvancedSearchGUI::setSubTabs | ( | ) |
set sub tabs
public
Definition at line 1116 of file class.ilAdvancedSearchGUI.php.
References ilAdvancedMDFieldDefinition\getSearchableDefinitionIds().
Referenced by showAdvMDSearch(), and showSearch().
ilAdvancedSearchGUI::showAdvMDSearch | ( | ) |
Show advanced meta data search.
public
Definition at line 412 of file class.ilAdvancedSearchGUI.php.
References $_SESSION, initAdvancedMetaDataForm(), and setSubTabs().
Referenced by performAdvMDSearch(), and showSavedAdvMDResults().
|
private |
show advanced meta data results
private
Definition at line 501 of file class.ilAdvancedSearchGUI.php.
References $ilUser, ilSearchBaseGUI\addPager(), ADVANCED_MD_SEARCH, initSearchType(), ilSearchResultPresentation\MODE_STANDARD, ilSearchResult\read(), and showAdvMDSearch().
ilAdvancedSearchGUI::showSavedResults | ( | ) |
Definition at line 534 of file class.ilAdvancedSearchGUI.php.
References $ilUser, ilSearchBaseGUI\addPager(), ADVANCED_SEARCH, initSearchType(), ilSearchResultPresentation\MODE_STANDARD, ilSearchResult\read(), and showSearch().
ilAdvancedSearchGUI::showSearch | ( | ) |
Definition at line 465 of file class.ilAdvancedSearchGUI.php.
References initFormSearch(), and setSubTabs().
Referenced by performSearch(), reset(), and showSavedResults().
|
private |
convert input array to unix time
private
Definition at line 1137 of file class.ilAdvancedSearchGUI.php.
|
protected |
Definition at line 50 of file class.ilAdvancedSearchGUI.php.
|
protected |
Definition at line 48 of file class.ilAdvancedSearchGUI.php.
|
private |
array of all options select boxes,'and' 'or' and query strings public
Definition at line 58 of file class.ilAdvancedSearchGUI.php.
Referenced by __getFilterSelect(), and initAdvancedMetaDataForm().
|
protected |
Definition at line 60 of file class.ilAdvancedSearchGUI.php.
const ilAdvancedSearchGUI::TYPE_ADV_MD = 2 |
Definition at line 46 of file class.ilAdvancedSearchGUI.php.
Referenced by initSearchType().
const ilAdvancedSearchGUI::TYPE_LOM = 1 |
Definition at line 45 of file class.ilAdvancedSearchGUI.php.
Referenced by initSearchType().