ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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, __setSearchOptions(), fields, and ilLuceneAdvancedSearchFields\getInstance().
ilAdvancedSearchGUI::__getFilterSelect | ( | ) |
Definition at line 993 of file class.ilAdvancedSearchGUI.php.
References $options, array, and ilUtil\formSelect().
& ilAdvancedSearchGUI::__performClassificationSearch | ( | ) |
Definition at line 798 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performContentSearch | ( | ) |
Definition at line 534 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 682 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performEducationalSearch | ( | ) |
Definition at line 752 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performEntitySearch | ( | ) |
Definition at line 699 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performFormatSearch | ( | ) |
Definition at line 738 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performGeneralSearch | ( | ) |
Definition at line 617 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performKeywordSearch | ( | ) |
Definition at line 887 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performLanguageSearch | ( | ) |
Definition at line 665 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performLifecycleSearch | ( | ) |
Definition at line 643 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performRequirementSearch | ( | ) |
Definition at line 724 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performRightsSearch | ( | ) |
Definition at line 780 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performTaxonSearch | ( | ) |
Definition at line 817 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performTitleSearch | ( | ) |
Definition at line 585 of file class.ilAdvancedSearchGUI.php.
References ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by __performContentSearch(), and performAdvMDSearch().
& ilAdvancedSearchGUI::__performTypicalAgeRangeSearch | ( | ) |
Definition at line 766 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
ilAdvancedSearchGUI::__setSearchOptions | ( | & | $post_vars | ) |
Definition at line 910 of file class.ilAdvancedSearchGUI.php.
References $_POST, $_SESSION, ilAdvancedMDRecord\_getActivatedObjTypes(), and array.
Referenced by __construct().
ilAdvancedSearchGUI::__storeEntries | ( | $res, | |
$new_res | |||
) |
Definition at line 1011 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, ilSearchBaseGUI\handleCommand(), initUserSearchCache(), and prepareOutput().
ilAdvancedSearchGUI::getRootNode | ( | ) |
Definition at line 80 of file class.ilAdvancedSearchGUI.php.
Referenced by performAdvMDSearch(), and performSearch().
|
protected |
protected
Definition at line 272 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 401 of file class.ilAdvancedSearchGUI.php.
References $form, $section, and fields.
Referenced by searchAdvancedMD(), and showSearch().
|
private |
init search type (LOM Search or Advanced meta data search)
private
Definition at line 1083 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 1030 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 323 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 | ( | ) |
Definition at line 445 of file class.ilAdvancedSearchGUI.php.
Referenced by executeCommand().
|
protected |
Search from main menu.
Definition at line 153 of file class.ilAdvancedSearchGUI.php.
References $_POST, array, performSearch(), and ilUtil\stripSlashes().
ilAdvancedSearchGUI::reset | ( | ) |
Definition at line 130 of file class.ilAdvancedSearchGUI.php.
References array, initSearchType(), and showSearch().
|
private |
Perform advanced meta data search.
private
obj | result object |
Definition at line 846 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 139 of file class.ilAdvancedSearchGUI.php.
References $_SESSION, initSearchType(), and performSearch().
ilAdvancedSearchGUI::setSubTabs | ( | ) |
set sub tabs
public
Definition at line 1052 of file class.ilAdvancedSearchGUI.php.
References ilAdvancedMDFieldDefinition\getSearchableDefinitionIds().
Referenced by showAdvMDSearch(), and showSearch().
ilAdvancedSearchGUI::showAdvMDSearch | ( | ) |
Show advanced meta data search.
public
Definition at line 383 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 473 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 504 of file class.ilAdvancedSearchGUI.php.
References $ilUser, ilSearchBaseGUI\addPager(), ADVANCED_SEARCH, initSearchType(), ilSearchResultPresentation\MODE_STANDARD, ilSearchResult\read(), and showSearch().
ilAdvancedSearchGUI::showSearch | ( | ) |
Definition at line 431 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 1071 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.