ILIAS
Release_4_4_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 1069 of file class.ilAdvancedSearchGUI.php.
References $options, and ilUtil\formSelect().
& ilAdvancedSearchGUI::__performClassificationSearch | ( | ) |
Definition at line 845 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performContentSearch | ( | ) |
Definition at line 564 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 726 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performEducationalSearch | ( | ) |
Definition at line 798 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performEntitySearch | ( | ) |
Definition at line 744 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performFormatSearch | ( | ) |
Definition at line 784 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performGeneralSearch | ( | ) |
Definition at line 655 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performKeywordSearch | ( | ) |
Definition at line 957 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performLanguageSearch | ( | ) |
Definition at line 708 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performLifecycleSearch | ( | ) |
Definition at line 685 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performRequirementSearch | ( | ) |
Definition at line 770 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performRightsSearch | ( | ) |
Definition at line 826 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performTaxonSearch | ( | ) |
Definition at line 865 of file class.ilAdvancedSearchGUI.php.
References $res, ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by performSearch().
& ilAdvancedSearchGUI::__performTitleSearch | ( | ) |
Definition at line 622 of file class.ilAdvancedSearchGUI.php.
References ilObjectSearchFactory\_getAdvancedSearchInstance(), QP_COMBINATION_OR, and ilUtil\stripSlashes().
Referenced by __performContentSearch(), and performAdvMDSearch().
& ilAdvancedSearchGUI::__performTypicalAgeRangeSearch | ( | ) |
Definition at line 812 of file class.ilAdvancedSearchGUI.php.
References $res, and ilObjectSearchFactory\_getAdvancedSearchInstance().
Referenced by performSearch().
ilAdvancedSearchGUI::__setSearchOptions | ( | & | $post_vars | ) |
Definition at line 981 of file class.ilAdvancedSearchGUI.php.
References $_POST, $_SESSION, and ilAdvancedMDRecord\_getActivatedObjTypes().
Referenced by ilAdvancedSearchGUI().
ilAdvancedSearchGUI::__storeEntries | ( | $res, | |
$new_res | |||
) |
Definition at line 1085 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 290 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 429 of file class.ilAdvancedSearchGUI.php.
References $section, and fields.
Referenced by showSearch().
|
private |
init search type (LOM Search or Advanced meta data search)
private
Definition at line 1164 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 1107 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 343 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, getRootNode(), initSearchType(), ilSearchResultPresentation\MODE_STANDARD, ilSearchResult\read(), ilUtil\sendInfo(), and showSearch().
Referenced by remoteSearch(), and searchInResults().
ilAdvancedSearchGUI::prepareOutput | ( | ) |
Reimplemented from ilSearchBaseGUI.
Definition at line 477 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 895 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 1131 of file class.ilAdvancedSearchGUI.php.
References ilAdvancedMDFieldDefinition\_getSearchableDefinitionIds().
Referenced by showAdvMDSearch(), and showSearch().
ilAdvancedSearchGUI::showAdvMDSearch | ( | ) |
Show advanced meta data search.
public
Definition at line 410 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 499 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 532 of file class.ilAdvancedSearchGUI.php.
References $ilUser, ilSearchBaseGUI\addPager(), ADVANCED_SEARCH, initSearchType(), ilSearchResultPresentation\MODE_STANDARD, ilSearchResult\read(), and showSearch().
ilAdvancedSearchGUI::showSearch | ( | ) |
Definition at line 463 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 1152 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().