ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 |
$ilias = null | |
$lng = null | |
$tpl = null | |
Protected Member Functions | |
remoteSearch () | |
Search from main menu. More... | |
initAdvancedMetaDataForm () | |
protected More... | |
performAdvMDSearch () | |
perform advanced meta data search More... | |
initFormSearch () | |
Show search form. 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 | |
$last_section = 'adv_search' | |
$fields = array() | |
$tabs_gui | |
Protected Attributes inherited from ilSearchBaseGUI | |
$settings = null | |
$ctrl = null | |
Private Member Functions | |
showSavedAdvMDResults () | |
show advanced meta data results More... | |
searchAdvancedMD ($res) | |
Perform advanced meta data search. More... | |
initUserSearchCache () | |
Init user search cache. More... | |
toUnixTime ($date, $time=array()) | |
convert input array to unix time More... | |
initSearchType ($type) | |
init search type (LOM Search or Advanced meta data search) More... | |
Private Attributes | |
$options = array() | |
array of all options select boxes,'and' 'or' and query strings public More... | |
Definition at line 43 of file class.ilAdvancedSearchGUI.php.
ilAdvancedSearchGUI::__construct | ( | ) |
Constructor public.
Definition at line 66 of file class.ilAdvancedSearchGUI.php.
References $_POST, $DIC, __setSearchOptions(), fields, and ilLuceneAdvancedSearchFields\getInstance().
ilAdvancedSearchGUI::__getFilterSelect | ( | ) |
Definition at line 1012 of file class.ilAdvancedSearchGUI.php.
References $options, and ilUtil\formSelect().
& ilAdvancedSearchGUI::__performClassificationSearch | ( | ) |
Definition at line 817 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performContentSearch | ( | ) |
Definition at line 553 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 701 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performEducationalSearch | ( | ) |
Definition at line 771 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performEntitySearch | ( | ) |
Definition at line 718 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performFormatSearch | ( | ) |
Definition at line 757 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performGeneralSearch | ( | ) |
Definition at line 636 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performKeywordSearch | ( | ) |
Definition at line 906 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performLanguageSearch | ( | ) |
Definition at line 684 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performLifecycleSearch | ( | ) |
Definition at line 662 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performRequirementSearch | ( | ) |
Definition at line 743 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performRightsSearch | ( | ) |
Definition at line 799 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performTaxonSearch | ( | ) |
Definition at line 836 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performTitleSearch | ( | ) |
Definition at line 604 of file class.ilAdvancedSearchGUI.php.
References ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by __performContentSearch(), and performAdvMDSearch().
& ilAdvancedSearchGUI::__performTypicalAgeRangeSearch | ( | ) |
Definition at line 785 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
ilAdvancedSearchGUI::__setSearchOptions | ( | & | $post_vars | ) |
Definition at line 929 of file class.ilAdvancedSearchGUI.php.
References $_POST, $_SESSION, and ilAdvancedMDRecord\_getActivatedObjTypes().
Referenced by __construct().
ilAdvancedSearchGUI::__storeEntries | ( | $res, | |
$new_res | |||
) |
Definition at line 1030 of file class.ilAdvancedSearchGUI.php.
References $res.
Referenced by performAdvMDSearch(), performSearch(), and searchAdvancedMD().
ilAdvancedSearchGUI::executeCommand | ( | ) |
Control public.
Definition at line 92 of file class.ilAdvancedSearchGUI.php.
References $_SESSION, $DIC, ilSearchBaseGUI\handleCommand(), initUserSearchCache(), and prepareOutput().
ilAdvancedSearchGUI::getRootNode | ( | ) |
Definition at line 82 of file class.ilAdvancedSearchGUI.php.
Referenced by performAdvMDSearch(), and performSearch().
|
protected |
protected
Definition at line 278 of file class.ilAdvancedSearchGUI.php.
References $form, $options, $type, ilAdvancedMDRecord\_getActivatedObjTypes(), ilRadioOption\addSubItem(), ilAdvancedMDRecordGUI\MODE_SEARCH, and ilTextInputGUI\setValue().
Referenced by showAdvMDSearch().
|
protected |
Show search form.
Definition at line 409 of file class.ilAdvancedSearchGUI.php.
References $DIC, $form, $section, $tree, and fields.
Referenced by searchAdvancedMD(), and showSearch().
|
private |
init search type (LOM Search or Advanced meta data search)
private
Definition at line 1106 of file class.ilAdvancedSearchGUI.php.
References $_SESSION, $type, ilUserSearchCache\ADVANCED_MD_SEARCH, and ilUserSearchCache\ADVANCED_SEARCH.
Referenced by performAdvMDSearch(), performSearch(), reset(), searchInResults(), showSavedAdvMDResults(), and showSavedResults().
|
private |
Init user search cache.
private
Definition at line 1049 of file class.ilAdvancedSearchGUI.php.
References $_GET, $_POST, $DIC, $ilUser, ilUserSearchCache\_getInstance(), ilUserSearchCache\ADVANCED_SEARCH, and ilUtil\stripSlashes().
Referenced by executeCommand().
|
protected |
perform advanced meta data search
protected
Definition at line 329 of file class.ilAdvancedSearchGUI.php.
References $_GET, $_SESSION, $DIC, $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 172 of file class.ilAdvancedSearchGUI.php.
References $_GET, $_POST, $_SESSION, $DIC, $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 | ( | ) |
Definition at line 457 of file class.ilAdvancedSearchGUI.php.
References $DIC.
Referenced by executeCommand().
|
protected |
Search from main menu.
Definition at line 157 of file class.ilAdvancedSearchGUI.php.
References $_POST, performSearch(), and ilUtil\stripSlashes().
ilAdvancedSearchGUI::reset | ( | ) |
Definition at line 134 of file class.ilAdvancedSearchGUI.php.
References initSearchType(), and showSearch().
|
private |
Perform advanced meta data search.
private
obj | result object |
Definition at line 865 of file class.ilAdvancedSearchGUI.php.
References $key, $res, __storeEntries(), ilObjectSearchFactory\_getAdvancedMDSearchInstance(), ilADTFactory\getInstance(), ilAdvancedMDFieldDefinition\getInstance(), and initFormSearch().
Referenced by performAdvMDSearch(), and performSearch().
ilAdvancedSearchGUI::searchInResults | ( | ) |
Definition at line 143 of file class.ilAdvancedSearchGUI.php.
References $_SESSION, initSearchType(), and performSearch().
ilAdvancedSearchGUI::setSubTabs | ( | ) |
set sub tabs
public
Definition at line 1073 of file class.ilAdvancedSearchGUI.php.
References $DIC, and ilAdvancedMDFieldDefinition\getSearchableDefinitionIds().
Referenced by showAdvMDSearch(), and showSearch().
ilAdvancedSearchGUI::showAdvMDSearch | ( | ) |
Show advanced meta data search.
public
Definition at line 391 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 488 of file class.ilAdvancedSearchGUI.php.
References $DIC, $ilUser, ilSearchBaseGUI\addPager(), ADVANCED_MD_SEARCH, initSearchType(), ilSearchResultPresentation\MODE_STANDARD, ilSearchResult\read(), and showAdvMDSearch().
ilAdvancedSearchGUI::showSavedResults | ( | ) |
Definition at line 521 of file class.ilAdvancedSearchGUI.php.
References $DIC, $ilUser, ilSearchBaseGUI\addPager(), ADVANCED_SEARCH, initSearchType(), ilSearchResultPresentation\MODE_STANDARD, ilSearchResult\read(), and showSearch().
ilAdvancedSearchGUI::showSearch | ( | ) |
Definition at line 441 of file class.ilAdvancedSearchGUI.php.
References $DIC, initFormSearch(), and setSubTabs().
Referenced by performSearch(), reset(), and showSavedResults().
|
private |
convert input array to unix time
private
Definition at line 1094 of file class.ilAdvancedSearchGUI.php.
References $time.
|
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.
const ilAdvancedSearchGUI::TYPE_LOM = 1 |
Definition at line 45 of file class.ilAdvancedSearchGUI.php.