ILIAS
Release_3_10_x_branch Revision 61812
|
Public Member Functions | |
ilAbstractSearch (&$qp_obj) | |
Constructor public. | |
setFields ($a_fields) | |
Set fields to search. | |
getFields () | |
Get fields to search. | |
setFilter ($a_filter) | |
set object type to search in | |
appendToFilter ($a_type) | |
Append object type to filter. | |
getFilter () | |
get object type to search in | |
__createLocateString () | |
build locate string in case of AND search | |
__prepareFound (&$row) | |
& | performSearch () |
Data Fields | |
$db = null | |
$query_parser = null | |
$search_result = null | |
$object_types |
Definition at line 36 of file class.ilAbstractSearch.php.
ilAbstractSearch::__createLocateString | ( | ) |
build locate string in case of AND search
Definition at line 143 of file class.ilAbstractSearch.php.
Referenced by ilShopMetaDataSearch\__searchContribute(), ilMetaDataSearch\__searchContribute(), ilMetaDataSearch\__searchDescriptions(), ilShopMetaDataSearch\__searchDescriptions(), ilAdvancedSearch\__searchEntity(), ilAdvancedSearch\__searchGeneral(), ilAdvancedSearch\__searchKeyword(), ilMetaDataSearch\__searchKeywords(), ilShopMetaDataSearch\__searchKeywords(), ilAdvancedSearch\__searchLifecycle(), ilTestSearch\__searchSurveyIntroduction(), ilTestSearch\__searchSurveyTitle(), ilAdvancedSearch\__searchTaxon(), ilTestSearch\__searchTestIntroduction(), ilTestSearch\__searchTestTitle(), ilAdvancedSearch\__searchTitleDescription(), ilMetaDataSearch\__searchTitles(), ilShopMetaDataSearch\__searchTitles(), ilUserDefinedFieldSearch\performSearch(), ilExerciseSearch\performSearch(), ilForumSearch\performSearch(), ilGlossaryDefinitionSearch\performSearch(), ilWebresourceSearch\performSearch(), ilMediaCastSearch\performSearch(), ilWikiContentSearch\performSearch(), ilMediaPoolSearch\performSearch(), ilLMContentSearch\performSearch(), ilObjectSearch\performSearch(), ilShopObjectSearch\performSearch(), ilUserSearch\performSearch(), and ilAdvancedMDSearch\performSearch().
ilAbstractSearch::__prepareFound | ( | & | $row | ) |
Definition at line 170 of file class.ilAbstractSearch.php.
Referenced by ilAdvancedSearch\__searchEntity(), ilAdvancedSearch\__searchGeneral(), ilAdvancedSearch\__searchKeyword(), ilAdvancedSearch\__searchLifecycle(), and ilAdvancedSearch\__searchTaxon().
ilAbstractSearch::appendToFilter | ( | $a_type | ) |
Append object type to filter.
string | obj_type e.g. 'role' public |
Definition at line 113 of file class.ilAbstractSearch.php.
ilAbstractSearch::getFields | ( | ) |
Get fields to search.
Definition at line 90 of file class.ilAbstractSearch.php.
Referenced by ilLikeUserDefinedFieldSearch\__createWhereCondition(), ilLikeUserSearch\__createWhereCondition(), ilTestSearch\__searchSurveyIntroduction(), ilTestSearch\__searchSurveyTitle(), ilTestSearch\__searchTestIntroduction(), and ilTestSearch\__searchTestTitle().
ilAbstractSearch::getFilter | ( | ) |
get object type to search in
array | Array of object types (e.g array('lm','st','pg','dbk')) public |
Definition at line 133 of file class.ilAbstractSearch.php.
Referenced by ilWikiContentSearch\__createInStatement(), ilLMContentSearch\__createInStatement(), ilShopMetaDataSearch\__createInStatement(), ilMetaDataSearch\__createInStatement(), ilAdvancedSearch\__searchClassification(), ilAdvancedSearch\__searchContribute(), ilAdvancedSearch\__searchEducational(), ilAdvancedSearch\__searchEntity(), ilAdvancedSearch\__searchFormat(), ilAdvancedSearch\__searchGeneral(), ilAdvancedSearch\__searchKeyword(), ilAdvancedSearch\__searchLanguage(), ilAdvancedSearch\__searchLifecycle(), ilAdvancedSearch\__searchRequirement(), ilAdvancedSearch\__searchRights(), ilAdvancedSearch\__searchTaxon(), ilAdvancedSearch\__searchTitleDescription(), and ilAdvancedMDSearch\performSearch().
ilAbstractSearch::ilAbstractSearch | ( | & | $qp_obj | ) |
Constructor public.
Definition at line 63 of file class.ilAbstractSearch.php.
Referenced by ilAdvancedSearch\ilAdvancedSearch(), ilExerciseSearch\ilExerciseSearch(), ilForumSearch\ilForumSearch(), ilGlossaryDefinitionSearch\ilGlossaryDefinitionSearch(), ilLMContentSearch\ilLMContentSearch(), ilMediaCastSearch\ilMediaCastSearch(), ilMediaPoolSearch\ilMediaPoolSearch(), ilMetaDataSearch\ilMetaDataSearch(), ilObjectSearch\ilObjectSearch(), ilTestSearch\ilTestSearch(), ilUserDefinedFieldSearch\ilUserDefinedFieldSearch(), ilUserSearch\ilUserSearch(), ilWebresourceSearch\ilWebresourceSearch(), and ilWikiContentSearch\ilWikiContentSearch().
& ilAbstractSearch::performSearch | ( | ) |
Reimplemented in ilTestSearch, ilAdvancedMDSearch, ilAdvancedSearch, ilShopMetaDataSearch, ilMetaDataSearch, ilUserSearch, ilShopObjectSearch, ilObjectSearch, ilLMContentSearch, ilMediaPoolSearch, ilWikiContentSearch, ilExerciseSearch, ilForumSearch, ilGlossaryDefinitionSearch, ilMediaCastSearch, ilWebresourceSearch, and ilUserDefinedFieldSearch.
Definition at line 185 of file class.ilAbstractSearch.php.
ilAbstractSearch::setFields | ( | $a_fields | ) |
Set fields to search.
array | Array of table field (e.g array('title','description')) public |
Definition at line 80 of file class.ilAbstractSearch.php.
Referenced by ilShopObjectSearch\__construct(), ilShopMetaDataSearch\__searchContribute(), ilMetaDataSearch\__searchContribute(), ilMetaDataSearch\__searchDescriptions(), ilShopMetaDataSearch\__searchDescriptions(), ilAdvancedSearch\__searchEntity(), ilAdvancedSearch\__searchGeneral(), ilAdvancedSearch\__searchKeyword(), ilMetaDataSearch\__searchKeywords(), ilShopMetaDataSearch\__searchKeywords(), ilAdvancedSearch\__searchLifecycle(), ilTestSearch\__searchSurveyIntroduction(), ilTestSearch\__searchSurveyTitle(), ilAdvancedSearch\__searchTaxon(), ilTestSearch\__searchTestIntroduction(), ilTestSearch\__searchTestTitle(), ilAdvancedSearch\__searchTitleDescription(), ilMetaDataSearch\__searchTitles(), ilShopMetaDataSearch\__searchTitles(), ilObjectSearch\ilObjectSearch(), ilMediaCastSearch\performSearch(), ilExerciseSearch\performSearch(), ilGlossaryDefinitionSearch\performSearch(), ilForumSearch\performSearch(), ilWebresourceSearch\performSearch(), ilWikiContentSearch\performSearch(), ilMediaPoolSearch\performSearch(), ilLMContentSearch\performSearch(), and ilAdvancedMDSearch\performSearch().
ilAbstractSearch::setFilter | ( | $a_filter | ) |
set object type to search in
array | Array of object types (e.g array('lm','st','pg','dbk')) public |
Definition at line 100 of file class.ilAbstractSearch.php.
ilAbstractSearch::$db = null |
Definition at line 41 of file class.ilAbstractSearch.php.
ilAbstractSearch::$object_types |
Definition at line 55 of file class.ilAbstractSearch.php.
ilAbstractSearch::$query_parser = null |
Definition at line 45 of file class.ilAbstractSearch.php.
Referenced by ilAdvancedMDLikeSearch\__construct(), ilAdvancedMDSearch\__construct(), ilExerciseSearch\ilExerciseSearch(), ilForumSearch\ilForumSearch(), ilGlossaryDefinitionSearch\ilGlossaryDefinitionSearch(), ilLMContentSearch\ilLMContentSearch(), ilMediaCastSearch\ilMediaCastSearch(), ilMediaPoolSearch\ilMediaPoolSearch(), ilTestSearch\ilTestSearch(), ilUserDefinedFieldSearch\ilUserDefinedFieldSearch(), ilUserSearch\ilUserSearch(), ilWebresourceSearch\ilWebresourceSearch(), and ilWikiContentSearch\ilWikiContentSearch().
ilAbstractSearch::$search_result = null |
Definition at line 50 of file class.ilAbstractSearch.php.
Referenced by ilAdvancedSearch\__searchClassification(), ilShopMetaDataSearch\__searchContribute(), ilMetaDataSearch\__searchContribute(), ilAdvancedSearch\__searchContribute(), ilMetaDataSearch\__searchDescriptions(), ilShopMetaDataSearch\__searchDescriptions(), ilAdvancedSearch\__searchEducational(), ilAdvancedSearch\__searchEntity(), ilAdvancedSearch\__searchFormat(), ilAdvancedSearch\__searchGeneral(), ilAdvancedSearch\__searchKeyword(), ilMetaDataSearch\__searchKeywords(), ilShopMetaDataSearch\__searchKeywords(), ilAdvancedSearch\__searchLanguage(), ilAdvancedSearch\__searchLifecycle(), ilAdvancedSearch\__searchRequirement(), ilAdvancedSearch\__searchRights(), ilTestSearch\__searchSurveyIntroduction(), ilTestSearch\__searchSurveyTitle(), ilAdvancedSearch\__searchTaxon(), ilTestSearch\__searchTestIntroduction(), ilTestSearch\__searchTestTitle(), ilAdvancedSearch\__searchTitleDescription(), ilMetaDataSearch\__searchTitles(), ilShopMetaDataSearch\__searchTitles(), ilAdvancedSearch\__searchTypicalAgeRange(), ilUserDefinedFieldSearch\performSearch(), ilWebresourceSearch\performSearch(), ilForumSearch\performSearch(), ilMediaCastSearch\performSearch(), ilExerciseSearch\performSearch(), ilGlossaryDefinitionSearch\performSearch(), ilWikiContentSearch\performSearch(), ilMediaPoolSearch\performSearch(), ilLMContentSearch\performSearch(), ilObjectSearch\performSearch(), ilShopObjectSearch\performSearch(), ilUserSearch\performSearch(), ilAdvancedMDSearch\performSearch(), and ilTestSearch\performSearch().