ILIAS
Release_3_10_x_branch Revision 61812
|
Public Member Functions | |
ilAdvancedSearch (&$qp_obj) | |
Constructor public. | |
setMode ($a_mode) | |
Define meta elements to search. | |
getMode () | |
setOptions (&$options) | |
& | performSearch () |
& | __searchTitleDescription () |
& | __searchGeneral () |
& | __searchLanguage () |
& | __searchContribute () |
& | __searchEntity () |
& | __searchRequirement () |
& | __searchEducational () |
& | __searchTypicalAgeRange () |
& | __searchRights () |
& | __searchClassification () |
& | __searchTaxon () |
& | __searchKeyword ($a_in_classification=false) |
& | __searchLifecycle () |
& | __searchFormat () |
__createRightsWhere () | |
__createClassificationWhere () | |
__createEducationalWhere () | |
__createRequirementWhere () | |
__getDifference ($a_val1, $a_val2, $options) | |
__getInStatement ($a_fields) | |
Public Member Functions inherited from ilAbstractSearch | |
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) |
Data Fields | |
$mode = '' | |
$query_parser = null | |
$db = null | |
Data Fields inherited from ilAbstractSearch | |
$db = null | |
$query_parser = null | |
$search_result = null | |
$object_types |
Definition at line 37 of file class.ilAdvancedSearch.php.
ilAdvancedSearch::__createClassificationWhere | ( | ) |
Definition at line 517 of file class.ilAdvancedSearch.php.
References ilUtil\prepareDBString().
Referenced by __searchClassification().
ilAdvancedSearch::__createEducationalWhere | ( | ) |
Definition at line 530 of file class.ilAdvancedSearch.php.
References __getDifference(), __getInStatement(), and ilUtil\prepareDBString().
Referenced by __searchEducational().
ilAdvancedSearch::__createRequirementWhere | ( | ) |
Definition at line 586 of file class.ilAdvancedSearch.php.
References ilUtil\prepareDBString().
Referenced by __searchRequirement().
ilAdvancedSearch::__createRightsWhere | ( | ) |
Definition at line 499 of file class.ilAdvancedSearch.php.
References ilUtil\prepareDBString().
Referenced by __searchRights().
ilAdvancedSearch::__getDifference | ( | $a_val1, | |
$a_val2, | |||
$options | |||
) |
Definition at line 605 of file class.ilAdvancedSearch.php.
Referenced by __createEducationalWhere().
ilAdvancedSearch::__getInStatement | ( | $a_fields | ) |
Definition at line 630 of file class.ilAdvancedSearch.php.
References $in.
Referenced by __createEducationalWhere().
& ilAdvancedSearch::__searchClassification | ( | ) |
Definition at line 364 of file class.ilAdvancedSearch.php.
References $res, ilAbstractSearch\$search_result, __createClassificationWhere(), DB_FETCHMODE_OBJECT, and ilAbstractSearch\getFilter().
Referenced by performSearch().
& ilAdvancedSearch::__searchContribute | ( | ) |
Definition at line 238 of file class.ilAdvancedSearch.php.
References $res, ilAbstractSearch\$search_result, DB_FETCHMODE_OBJECT, and ilAbstractSearch\getFilter().
Referenced by performSearch().
& ilAdvancedSearch::__searchEducational | ( | ) |
Definition at line 305 of file class.ilAdvancedSearch.php.
References $res, ilAbstractSearch\$search_result, __createEducationalWhere(), DB_FETCHMODE_OBJECT, and ilAbstractSearch\getFilter().
Referenced by performSearch().
& ilAdvancedSearch::__searchEntity | ( | ) |
Definition at line 258 of file class.ilAdvancedSearch.php.
References $res, ilAbstractSearch\$search_result, ilAbstractSearch\__createLocateString(), ilAbstractSearch\__prepareFound(), DB_FETCHMODE_OBJECT, ilAbstractSearch\getFilter(), and ilAbstractSearch\setFields().
Referenced by performSearch().
& ilAdvancedSearch::__searchFormat | ( | ) |
Definition at line 478 of file class.ilAdvancedSearch.php.
References $res, ilAbstractSearch\$search_result, DB_FETCHMODE_OBJECT, and ilAbstractSearch\getFilter().
Referenced by performSearch().
& ilAdvancedSearch::__searchGeneral | ( | ) |
Definition at line 174 of file class.ilAdvancedSearch.php.
References $res, ilAbstractSearch\$search_result, ilAbstractSearch\__createLocateString(), ilAbstractSearch\__prepareFound(), DB_FETCHMODE_OBJECT, ilAbstractSearch\getFilter(), and ilAbstractSearch\setFields().
Referenced by performSearch().
& ilAdvancedSearch::__searchKeyword | ( | $a_in_classification = false | ) |
Definition at line 409 of file class.ilAdvancedSearch.php.
References $res, ilAbstractSearch\$search_result, ilAbstractSearch\__createLocateString(), ilAbstractSearch\__prepareFound(), DB_FETCHMODE_OBJECT, ilAbstractSearch\getFilter(), and ilAbstractSearch\setFields().
Referenced by performSearch().
& ilAdvancedSearch::__searchLanguage | ( | ) |
Definition at line 217 of file class.ilAdvancedSearch.php.
References $res, ilAbstractSearch\$search_result, DB_FETCHMODE_OBJECT, and ilAbstractSearch\getFilter().
Referenced by performSearch().
& ilAdvancedSearch::__searchLifecycle | ( | ) |
Definition at line 438 of file class.ilAdvancedSearch.php.
References $res, ilAbstractSearch\$search_result, ilAbstractSearch\__createLocateString(), ilAbstractSearch\__prepareFound(), DB_FETCHMODE_OBJECT, ilAbstractSearch\getFilter(), and ilAbstractSearch\setFields().
Referenced by performSearch().
& ilAdvancedSearch::__searchRequirement | ( | ) |
Definition at line 286 of file class.ilAdvancedSearch.php.
References $res, ilAbstractSearch\$search_result, __createRequirementWhere(), DB_FETCHMODE_OBJECT, and ilAbstractSearch\getFilter().
Referenced by performSearch().
& ilAdvancedSearch::__searchRights | ( | ) |
Definition at line 345 of file class.ilAdvancedSearch.php.
References $res, ilAbstractSearch\$search_result, __createRightsWhere(), DB_FETCHMODE_OBJECT, and ilAbstractSearch\getFilter().
Referenced by performSearch().
& ilAdvancedSearch::__searchTaxon | ( | ) |
Definition at line 383 of file class.ilAdvancedSearch.php.
References $res, ilAbstractSearch\$search_result, ilAbstractSearch\__createLocateString(), ilAbstractSearch\__prepareFound(), DB_FETCHMODE_OBJECT, ilAbstractSearch\getFilter(), and ilAbstractSearch\setFields().
Referenced by performSearch().
& ilAdvancedSearch::__searchTitleDescription | ( | ) |
Definition at line 147 of file class.ilAdvancedSearch.php.
References $res, ilAbstractSearch\$search_result, ilAbstractSearch\__createLocateString(), DB_FETCHMODE_OBJECT, ilAbstractSearch\getFilter(), and ilAbstractSearch\setFields().
Referenced by performSearch().
& ilAdvancedSearch::__searchTypicalAgeRange | ( | ) |
Definition at line 324 of file class.ilAdvancedSearch.php.
References $res, ilAbstractSearch\$search_result, and DB_FETCHMODE_OBJECT.
Referenced by performSearch().
ilAdvancedSearch::getMode | ( | ) |
Definition at line 67 of file class.ilAdvancedSearch.php.
References $mode.
Referenced by performSearch().
ilAdvancedSearch::ilAdvancedSearch | ( | & | $qp_obj | ) |
Constructor public.
Definition at line 52 of file class.ilAdvancedSearch.php.
References ilAbstractSearch\ilAbstractSearch().
Referenced by ilFulltextAdvancedSearch\ilFulltextAdvancedSearch().
& ilAdvancedSearch::performSearch | ( | ) |
Reimplemented from ilAbstractSearch.
Definition at line 77 of file class.ilAdvancedSearch.php.
References __searchClassification(), __searchContribute(), __searchEducational(), __searchEntity(), __searchFormat(), __searchGeneral(), __searchKeyword(), __searchLanguage(), __searchLifecycle(), __searchRequirement(), __searchRights(), __searchTaxon(), __searchTitleDescription(), __searchTypicalAgeRange(), and getMode().
ilAdvancedSearch::setMode | ( | $a_mode | ) |
Define meta elements to search.
array | elements to search in. E.G array('keyword','contribute') public |
Definition at line 63 of file class.ilAdvancedSearch.php.
ilAdvancedSearch::setOptions | ( | & | $options | ) |
Definition at line 72 of file class.ilAdvancedSearch.php.
ilAdvancedSearch::$db = null |
Definition at line 46 of file class.ilAdvancedSearch.php.
ilAdvancedSearch::$mode = '' |
Definition at line 39 of file class.ilAdvancedSearch.php.
Referenced by getMode().
ilAdvancedSearch::$query_parser = null |
Definition at line 44 of file class.ilAdvancedSearch.php.