ILIAS
Release_3_10_x_branch Revision 61812
|
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 | |
Protected Member Functions inherited from ilSearchBaseGUI | |
addPager ($result, $a_session_key) | |
Add Pager. |
Protected Attributes | |
$last_section = 'adv_search' | |
$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 38 of file class.ilAdvancedSearchGUI.php.
ilAdvancedSearchGUI::__getFilterSelect | ( | ) |
Definition at line 1274 of file class.ilAdvancedSearchGUI.php.
References $options, and formSelect().
Referenced by showSearch().
ilAdvancedSearchGUI::__getFolderSelect | ( | ) |
Definition at line 1328 of file class.ilAdvancedSearchGUI.php.
References $options, formSelect(), and ilSearchFolder\getSubtree().
Referenced by __showSearchInResults().
& ilAdvancedSearchGUI::__performClassificationSearch | ( | ) |
Definition at line 1052 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performContentSearch | ( | ) |
Definition at line 775 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getGlossaryDefinitionSearchInstance(), ilObjectSearchFactory\_getHTLMSearchInstance(), ilObjectSearchFactory\_getLMContentSearchInstance(), ilObjectSearchFactory\_getMediaPoolSearchInstance(), ilObjectSearchFactory\_getTestSearchInstance(), ilObjectSearchFactory\_getWebresourceSearchInstance(), and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performContributeSearch | ( | ) |
Definition at line 935 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performEducationalSearch | ( | ) |
Definition at line 1005 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performEntitySearch | ( | ) |
Definition at line 953 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performFormatSearch | ( | ) |
Definition at line 991 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performGeneralSearch | ( | ) |
Definition at line 866 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performKeywordSearch | ( | ) |
Definition at line 1164 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performLanguageSearch | ( | ) |
Definition at line 917 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performLifecycleSearch | ( | ) |
Definition at line 895 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performRequirementSearch | ( | ) |
Definition at line 977 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performRightsSearch | ( | ) |
Definition at line 1033 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performTaxonSearch | ( | ) |
Definition at line 1072 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performTitleSearch | ( | ) |
Definition at line 837 of file class.ilAdvancedSearchGUI.php.
References ilObjectSearchFactory\_getAdvancedSearchInstance(), and ilUtil\stripSlashes().
Referenced by performAdvMDSearch(), and performSearch().
& ilAdvancedSearchGUI::__performTypicalAgeRangeSearch | ( | ) |
Definition at line 1019 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
ilAdvancedSearchGUI::__setSearchOptions | ( | & | $post_vars | ) |
Definition at line 1187 of file class.ilAdvancedSearchGUI.php.
References $_SESSION, and ilAdvancedMDRecord\_getActivatedObjTypes().
Referenced by ilAdvancedSearchGUI().
ilAdvancedSearchGUI::__showSearchInResults | ( | ) |
Show search in results button.
If search was successful
Definition at line 1314 of file class.ilAdvancedSearchGUI.php.
References __getFolderSelect(), and ilUtil\getImagePath().
Referenced by performAdvMDSearch(), performSearch(), showSavedAdvMDResults(), and showSavedResults().
ilAdvancedSearchGUI::__storeEntries | ( | & | $res, |
& | $new_res | ||
) |
Definition at line 1290 of file class.ilAdvancedSearchGUI.php.
References $res.
Referenced by performAdvMDSearch(), performSearch(), and searchAdvancedMD().
& ilAdvancedSearchGUI::executeCommand | ( | ) |
Control public.
Definition at line 82 of file class.ilAdvancedSearchGUI.php.
References $_SESSION, $cmd, initUserSearchCache(), and prepareOutput().
ilAdvancedSearchGUI::getRootNode | ( | ) |
Definition at line 72 of file class.ilAdvancedSearchGUI.php.
Referenced by performAdvMDSearch(), and performSearch().
ilAdvancedSearchGUI::ilAdvancedSearchGUI | ( | ) |
Constructor public.
Definition at line 59 of file class.ilAdvancedSearchGUI.php.
References __setSearchOptions(), and ilSearchBaseGUI\ilSearchBaseGUI().
|
protected |
protected
Definition at line 252 of file class.ilAdvancedSearchGUI.php.
References $options, ilAdvancedMDRecord\_getActivatedObjTypes(), ilRadioOption\addSubItem(), ilAdvancedMDRecordGUI\MODE_SEARCH, ilSelectInputGUI\setOptions(), and ilTextInputGUI\setValue().
Referenced by showAdvMDSearch().
|
private |
init search type (LOM Search or Advanced meta data search)
private
Definition at line 1418 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(), saveResult(), searchInResults(), showSavedAdvMDResults(), and showSavedResults().
|
private |
Init user search cache.
private
Definition at line 1366 of file class.ilAdvancedSearchGUI.php.
References $_GET, ilUserSearchCache\_getInstance(), and ilUserSearchCache\ADVANCED_SEARCH.
Referenced by executeCommand().
|
protected |
perform advanced meta data search
protected
Definition at line 305 of file class.ilAdvancedSearchGUI.php.
References $_GET, $_SESSION, $res, __performTitleSearch(), __showSearchInResults(), __storeEntries(), ilSearchBaseGUI\addPager(), ADVANCED_MD_SEARCH, getRootNode(), initSearchType(), ilSearchResult\read(), searchAdvancedMD(), ilUtil\sendInfo(), and showAdvMDSearch().
ilAdvancedSearchGUI::performSearch | ( | ) |
Definition at line 132 of file class.ilAdvancedSearchGUI.php.
References $_GET, $_SESSION, $res, __performClassificationSearch(), __performContentSearch(), __performContributeSearch(), __performEducationalSearch(), __performEntitySearch(), __performFormatSearch(), __performGeneralSearch(), __performKeywordSearch(), __performLanguageSearch(), __performLifecycleSearch(), __performRequirementSearch(), __performRightsSearch(), __performTaxonSearch(), __performTitleSearch(), __performTypicalAgeRangeSearch(), __showSearchInResults(), __storeEntries(), ilSearchBaseGUI\addPager(), ADVANCED_MD_SEARCH, getRootNode(), initSearchType(), ilSearchResult\read(), ilUtil\sendInfo(), and showSearch().
Referenced by searchInResults().
ilAdvancedSearchGUI::prepareOutput | ( | ) |
Reimplemented from ilSearchBaseGUI.
Definition at line 637 of file class.ilAdvancedSearchGUI.php.
References ilUtil\getImagePath().
Referenced by executeCommand().
ilAdvancedSearchGUI::reset | ( | ) |
Definition at line 113 of file class.ilAdvancedSearchGUI.php.
References initSearchType(), and showSearch().
ilAdvancedSearchGUI::saveResult | ( | ) |
Definition at line 668 of file class.ilAdvancedSearchGUI.php.
References $ref_id, $title, ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), initSearchType(), ilUtil\sendInfo(), ilUserResult\setTitle(), and showSavedResults().
|
private |
Perform advanced meta data search.
private
obj | result object |
Definition at line 1102 of file class.ilAdvancedSearchGUI.php.
References $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 120 of file class.ilAdvancedSearchGUI.php.
References $_SESSION, initSearchType(), and performSearch().
ilAdvancedSearchGUI::setSubTabs | ( | ) |
set sub tabs
public
Definition at line 1385 of file class.ilAdvancedSearchGUI.php.
References ilAdvancedMDFieldDefinition\_getSearchableDefinitionIds().
Referenced by showAdvMDSearch(), and showSearch().
ilAdvancedSearchGUI::showAdvMDSearch | ( | ) |
Show advanced meta data search.
public
Definition at line 371 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 720 of file class.ilAdvancedSearchGUI.php.
References __showSearchInResults(), ilSearchBaseGUI\addPager(), ADVANCED_MD_SEARCH, initSearchType(), ilSearchResult\read(), and showAdvMDSearch().
ilAdvancedSearchGUI::showSavedResults | ( | ) |
Definition at line 748 of file class.ilAdvancedSearchGUI.php.
References __showSearchInResults(), ilSearchBaseGUI\addPager(), ADVANCED_SEARCH, initSearchType(), ilSearchResult\read(), and showSearch().
Referenced by saveResult().
ilAdvancedSearchGUI::showSearch | ( | ) |
Definition at line 388 of file class.ilAdvancedSearchGUI.php.
References __getFilterSelect(), ilMDUtilSelect\_getBrowserSelect(), ilMDUtilSelect\_getContextSelect(), ilMDUtilSelect\_getCopyrightAndOtherRestrictionsSelect(), ilMDUtilSelect\_getCostsSelect(), ilMDUtilSelect\_getDifficultySelect(), ilMDUtilSelect\_getDurationSelect(), ilMDUtilSelect\_getFormatSelect(), ilMDUtilSelect\_getIntendedEndUserRoleSelect(), ilMDUtilSelect\_getInteractivityLevelSelect(), ilMDUtilSelect\_getInteractivityTypeSelect(), ilMDUtilSelect\_getLanguageSelect(), ilMDUtilSelect\_getLearningResourceTypeSelect(), ilMDUtilSelect\_getOperatingSystemSelect(), ilMDUtilSelect\_getPurposeSelect(), ilMDUtilSelect\_getRoleSelect(), ilMDUtilSelect\_getSemanticDensitySelect(), ilMDUtilSelect\_getStatusSelect(), ilMDUtilSelect\_getStructureSelect(), ilMDUtilSelect\_getTypicalAgeRangeSelect(), ilMDUtilSelect\_getTypicalLearningTimeSelect(), ilUtil\prepareFormOutput(), and setSubTabs().
Referenced by performSearch(), reset(), and showSavedResults().
|
private |
convert input array to unix time
private
Definition at line 1406 of file class.ilAdvancedSearchGUI.php.
Referenced by searchAdvancedMD().
|
protected |
Definition at line 43 of file class.ilAdvancedSearchGUI.php.
|
private |
array of all options select boxes,'and' 'or' and query strings public
Definition at line 51 of file class.ilAdvancedSearchGUI.php.
Referenced by __getFilterSelect(), __getFolderSelect(), initAdvancedMetaDataForm(), and searchAdvancedMD().
|
protected |
Definition at line 53 of file class.ilAdvancedSearchGUI.php.
const ilAdvancedSearchGUI::TYPE_ADV_MD = 2 |
Definition at line 41 of file class.ilAdvancedSearchGUI.php.
Referenced by initSearchType().
const ilAdvancedSearchGUI::TYPE_LOM = 1 |
Definition at line 40 of file class.ilAdvancedSearchGUI.php.
Referenced by initSearchType().