ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct ($qp_obj) | |
Constructor public. More... | |
setFields ($a_fields) | |
Set fields to search. More... | |
getFields () | |
Get fields to search. More... | |
setFilter ($a_filter) | |
set object type to search in More... | |
setIdFilter ($a_id_filter) | |
Set id filter Filters search by given object id. More... | |
getIdFilter () | |
Get Id filter. More... | |
appendToFilter ($a_type) | |
Append object type to filter. More... | |
getFilter () | |
get object type to search in More... | |
__createLocateString () | |
build locate string in case of AND search More... | |
__prepareFound (&$row) | |
performSearch () | |
Data Fields | |
$db = null | |
$query_parser = null | |
$search_result = null | |
$object_types | |
Private Attributes | |
$id_filter = array() | |
Definition at line 16 of file class.ilAbstractSearch.php.
ilAbstractSearch::__construct | ( | $qp_obj | ) |
Constructor public.
Definition at line 45 of file class.ilAbstractSearch.php.
ilAbstractSearch::__createLocateString | ( | ) |
build locate string in case of AND search
Definition at line 143 of file class.ilAbstractSearch.php.
References $DIC, $ilDB, and fields.
Referenced by ilMetaDataSearch\__searchContribute(), ilMetaDataSearch\__searchDescriptions(), ilAdvancedSearch\__searchEntity(), ilAdvancedSearch\__searchGeneral(), ilAdvancedSearch\__searchKeyword(), ilMetaDataSearch\__searchKeywords(), ilAdvancedSearch\__searchLifecycle(), ilTestSearch\__searchSurveyIntroduction(), ilTestSearch\__searchSurveyTitle(), ilAdvancedSearch\__searchTaxon(), ilTestSearch\__searchTestIntroduction(), ilTestSearch\__searchTestTitle(), ilAdvancedSearch\__searchTitleDescription(), ilMetaDataSearch\__searchTitles(), ilMediaPoolSearch\performKeywordSearch(), ilUserDefinedFieldSearch\performSearch(), ilMediaPoolSearch\performSearch(), ilLikeUserOrgUnitSearch\performSearch(), ilLikeUserMultiFieldSearch\performSearch(), ilWikiContentSearch\performSearch(), ilLMContentSearch\performSearch(), ilExerciseSearch\performSearch(), ilForumSearch\performSearch(), ilWebresourceSearch\performSearch(), ilGlossaryDefinitionSearch\performSearch(), ilMediaCastSearch\performSearch(), ilObjectSearch\performSearch(), ilUserSearch\performSearch(), and ilAdvancedMDSearch\performSearch().
ilAbstractSearch::__prepareFound | ( | & | $row | ) |
Definition at line 180 of file class.ilAbstractSearch.php.
References $row.
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 115 of file class.ilAbstractSearch.php.
References $a_type.
ilAbstractSearch::getFields | ( | ) |
Get fields to search.
Definition at line 74 of file class.ilAbstractSearch.php.
References fields.
Referenced by ilLikeUserDefinedFieldSearch\__createWhereCondition(), ilLikeUserSearch\__createWhereCondition(), ilLikeTestSearch\__createWhereCondition(), ilLikeUserMultiFieldSearch\__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(), 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::getIdFilter | ( | ) |
Get Id filter.
Definition at line 105 of file class.ilAbstractSearch.php.
References $id_filter.
Referenced by ilWikiContentSearch\__createInStatement(), ilLMContentSearch\__createInStatement(), and ilObjectSearch\__createInStatement().
ilAbstractSearch::performSearch | ( | ) |
Definition at line 193 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 64 of file class.ilAbstractSearch.php.
References fields.
Referenced by ilObjectSearch\__construct(), ilMetaDataSearch\__searchContribute(), ilMetaDataSearch\__searchDescriptions(), ilAdvancedSearch\__searchEntity(), ilAdvancedSearch\__searchGeneral(), ilAdvancedSearch\__searchKeyword(), ilMetaDataSearch\__searchKeywords(), ilAdvancedSearch\__searchLifecycle(), ilTestSearch\__searchSurveyIntroduction(), ilTestSearch\__searchSurveyTitle(), ilAdvancedSearch\__searchTaxon(), ilTestSearch\__searchTestIntroduction(), ilTestSearch\__searchTestTitle(), ilAdvancedSearch\__searchTitleDescription(), ilMetaDataSearch\__searchTitles(), ilMediaPoolSearch\performKeywordSearch(), ilMediaPoolSearch\performSearch(), ilWikiContentSearch\performSearch(), ilLMContentSearch\performSearch(), ilWebresourceSearch\performSearch(), ilGlossaryDefinitionSearch\performSearch(), ilExerciseSearch\performSearch(), ilMediaCastSearch\performSearch(), ilForumSearch\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 84 of file class.ilAbstractSearch.php.
ilAbstractSearch::setIdFilter | ( | $a_id_filter | ) |
Set id filter Filters search by given object id.
Definition at line 96 of file class.ilAbstractSearch.php.
ilAbstractSearch::$db = null |
Definition at line 21 of file class.ilAbstractSearch.php.
|
private |
Definition at line 38 of file class.ilAbstractSearch.php.
Referenced by getIdFilter().
ilAbstractSearch::$object_types |
Definition at line 35 of file class.ilAbstractSearch.php.
ilAbstractSearch::$query_parser = null |
Definition at line 25 of file class.ilAbstractSearch.php.
Referenced by ilAdvancedMDSearch\__construct().
ilAbstractSearch::$search_result = null |
Definition at line 30 of file class.ilAbstractSearch.php.
Referenced by ilAdvancedSearch\__searchClassification(), ilMetaDataSearch\__searchContribute(), ilAdvancedSearch\__searchContribute(), ilMetaDataSearch\__searchDescriptions(), ilAdvancedSearch\__searchEducational(), ilAdvancedSearch\__searchEntity(), ilAdvancedSearch\__searchFormat(), ilAdvancedSearch\__searchGeneral(), ilAdvancedSearch\__searchKeyword(), ilMetaDataSearch\__searchKeywords(), ilAdvancedSearch\__searchLanguage(), ilAdvancedSearch\__searchLifecycle(), ilAdvancedSearch\__searchRequirement(), ilAdvancedSearch\__searchRights(), ilTestSearch\__searchSurveyIntroduction(), ilTestSearch\__searchSurveyTitle(), ilAdvancedSearch\__searchTaxon(), ilTestSearch\__searchTestIntroduction(), ilTestSearch\__searchTestTitle(), ilAdvancedSearch\__searchTitleDescription(), ilMetaDataSearch\__searchTitles(), ilAdvancedSearch\__searchTypicalAgeRange(), ilMediaPoolSearch\performKeywordSearch(), ilUserDefinedFieldSearch\performSearch(), ilMediaPoolSearch\performSearch(), ilLikeUserMultiFieldSearch\performSearch(), ilLikeUserOrgUnitSearch\performSearch(), ilWikiContentSearch\performSearch(), ilExerciseSearch\performSearch(), ilForumSearch\performSearch(), ilWebresourceSearch\performSearch(), ilGlossaryDefinitionSearch\performSearch(), ilLMContentSearch\performSearch(), ilMediaCastSearch\performSearch(), ilObjectSearch\performSearch(), ilUserSearch\performSearch(), ilAdvancedMDSearch\performSearch(), and ilTestSearch\performSearch().