ILIAS
Release_4_1_x_branch Revision 61804
|
Data Fields | |
const | TYPE_LOM = 1 |
const | TYPE_ADV_MD = 2 |
Data Fields inherited from ilSearchBaseGUI | |
$settings = null | |
$ilias = null | |
$lng = null | |
$tpl = null |
Protected Member Functions | |
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 1064 of file class.ilAdvancedSearchGUI.php.
References $options, and formSelect().
& ilAdvancedSearchGUI::__performClassificationSearch | ( | ) |
Definition at line 840 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performContentSearch | ( | ) |
Definition at line 559 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 721 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performEducationalSearch | ( | ) |
Definition at line 793 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performEntitySearch | ( | ) |
Definition at line 739 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performFormatSearch | ( | ) |
Definition at line 779 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performGeneralSearch | ( | ) |
Definition at line 650 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performKeywordSearch | ( | ) |
Definition at line 952 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performLanguageSearch | ( | ) |
Definition at line 703 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performLifecycleSearch | ( | ) |
Definition at line 680 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performRequirementSearch | ( | ) |
Definition at line 765 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performRightsSearch | ( | ) |
Definition at line 821 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performTaxonSearch | ( | ) |
Definition at line 860 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performTitleSearch | ( | ) |
Definition at line 617 of file class.ilAdvancedSearchGUI.php.
References ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by __performContentSearch(), and performAdvMDSearch().
& ilAdvancedSearchGUI::__performTypicalAgeRangeSearch | ( | ) |
Definition at line 807 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
ilAdvancedSearchGUI::__setSearchOptions | ( | & | $post_vars | ) |
Definition at line 976 of file class.ilAdvancedSearchGUI.php.
References $_POST, $_SESSION, and ilAdvancedMDRecord\_getActivatedObjTypes().
Referenced by ilAdvancedSearchGUI().
ilAdvancedSearchGUI::__storeEntries | ( | $res, | |
$new_res | |||
) |
Definition at line 1080 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(), ilLuceneAdvancedSearchFields\getInstance(), and ilSearchBaseGUI\ilSearchBaseGUI().
|
protected |
protected
Definition at line 273 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 412 of file class.ilAdvancedSearchGUI.php.
References $section.
Referenced by showSearch().
|
private |
init search type (LOM Search or Advanced meta data search)
private
Definition at line 1159 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 1102 of file class.ilAdvancedSearchGUI.php.
References $_GET, $_POST, ilUserSearchCache\_getInstance(), ilUserSearchCache\ADVANCED_SEARCH, and ilUtil\stripSlashes().
Referenced by executeCommand().
|
protected |
perform advanced meta data search
protected
Definition at line 326 of file class.ilAdvancedSearchGUI.php.
References $_GET, $_SESSION, $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 151 of file class.ilAdvancedSearchGUI.php.
References $_GET, $_POST, $_SESSION, $res, __performClassificationSearch(), __performContentSearch(), __performContributeSearch(), __performEducationalSearch(), __performEntitySearch(), __performFormatSearch(), __performGeneralSearch(), __performKeywordSearch(), __performLanguageSearch(), __performLifecycleSearch(), __performRequirementSearch(), __performRightsSearch(), __performTaxonSearch(), __performTypicalAgeRangeSearch(), __storeEntries(), ilSearchBaseGUI\addPager(), ADVANCED_MD_SEARCH, getRootNode(), initSearchType(), ilSearchResultPresentation\MODE_STANDARD, ilSearchResult\read(), ilUtil\sendInfo(), and showSearch().
Referenced by searchInResults().
ilAdvancedSearchGUI::prepareOutput | ( | ) |
Reimplemented from ilSearchBaseGUI.
Definition at line 460 of file class.ilAdvancedSearchGUI.php.
Referenced by executeCommand().
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 890 of file class.ilAdvancedSearchGUI.php.
References $_POST, $options, $res, __storeEntries(), ilObjectSearchFactory\_getAdvancedMDSearchInstance(), ilAdvancedMDFieldDefinition\_getInstanceByFieldId(), ilUtil\stripSlashes(), toUnixTime(), ilAdvancedMDFieldDefinition\TYPE_DATE, ilAdvancedMDFieldDefinition\TYPE_DATETIME, and ilAdvancedMDFieldDefinition\TYPE_SELECT.
Referenced by performAdvMDSearch().
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 1126 of file class.ilAdvancedSearchGUI.php.
References ilAdvancedMDFieldDefinition\_getSearchableDefinitionIds().
Referenced by showAdvMDSearch(), and showSearch().
ilAdvancedSearchGUI::showAdvMDSearch | ( | ) |
Show advanced meta data search.
public
Definition at line 393 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 494 of file class.ilAdvancedSearchGUI.php.
References ilSearchBaseGUI\addPager(), ADVANCED_MD_SEARCH, initSearchType(), ilSearchResultPresentation\MODE_STANDARD, ilSearchResult\read(), and showAdvMDSearch().
ilAdvancedSearchGUI::showSavedResults | ( | ) |
Definition at line 527 of file class.ilAdvancedSearchGUI.php.
References ilSearchBaseGUI\addPager(), ADVANCED_SEARCH, initSearchType(), ilSearchResultPresentation\MODE_STANDARD, ilSearchResult\read(), and showSearch().
ilAdvancedSearchGUI::showSearch | ( | ) |
Definition at line 446 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 1147 of file class.ilAdvancedSearchGUI.php.
Referenced by searchAdvancedMD().
|
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(), initAdvancedMetaDataForm(), and searchAdvancedMD().
|
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().