ILIAS
Release_4_0_x_branch Revision 61816
|
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 | |
setIdFilter ($a_id_filter) | |
Set id filter Filters search by given object id. | |
getIdFilter () | |
Get Id filter. | |
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 522 of file class.ilAdvancedSearch.php.
References $ilDB.
Referenced by __searchClassification().
ilAdvancedSearch::__createEducationalWhere | ( | ) |
Definition at line 537 of file class.ilAdvancedSearch.php.
References $ilDB, __getDifference(), and __getInStatement().
Referenced by __searchEducational().
ilAdvancedSearch::__createRequirementWhere | ( | ) |
Definition at line 595 of file class.ilAdvancedSearch.php.
References $ilDB.
Referenced by __searchRequirement().
ilAdvancedSearch::__createRightsWhere | ( | ) |
Definition at line 502 of file class.ilAdvancedSearch.php.
References $ilDB.
Referenced by __searchRights().
ilAdvancedSearch::__getDifference | ( | $a_val1, | |
$a_val2, | |||
$options | |||
) |
Definition at line 616 of file class.ilAdvancedSearch.php.
Referenced by __createEducationalWhere().
ilAdvancedSearch::__getInStatement | ( | $a_fields | ) |
Definition at line 641 of file class.ilAdvancedSearch.php.
References $in.
Referenced by __createEducationalWhere().
& ilAdvancedSearch::__searchClassification | ( | ) |
Definition at line 365 of file class.ilAdvancedSearch.php.
References $query, $res, $row, 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 $ilDB, $query, $res, $row, ilAbstractSearch\$search_result, DB_FETCHMODE_OBJECT, and ilAbstractSearch\getFilter().
Referenced by performSearch().
& ilAdvancedSearch::__searchEducational | ( | ) |
Definition at line 307 of file class.ilAdvancedSearch.php.
References $query, $res, $row, ilAbstractSearch\$search_result, __createEducationalWhere(), DB_FETCHMODE_OBJECT, and ilAbstractSearch\getFilter().
Referenced by performSearch().
& ilAdvancedSearch::__searchEntity | ( | ) |
Definition at line 260 of file class.ilAdvancedSearch.php.
References $query, $res, $row, ilAbstractSearch\$search_result, ilAbstractSearch\__createLocateString(), ilAbstractSearch\__prepareFound(), DB_FETCHMODE_OBJECT, ilAbstractSearch\getFilter(), and ilAbstractSearch\setFields().
Referenced by performSearch().
& ilAdvancedSearch::__searchFormat | ( | ) |
Definition at line 479 of file class.ilAdvancedSearch.php.
References $ilDB, $query, $res, $row, ilAbstractSearch\$search_result, DB_FETCHMODE_OBJECT, and ilAbstractSearch\getFilter().
Referenced by performSearch().
& ilAdvancedSearch::__searchGeneral | ( | ) |
Definition at line 170 of file class.ilAdvancedSearch.php.
References $ilDB, $query, $res, $row, 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 410 of file class.ilAdvancedSearch.php.
References $query, $res, $row, ilAbstractSearch\$search_result, ilAbstractSearch\__createLocateString(), ilAbstractSearch\__prepareFound(), DB_FETCHMODE_OBJECT, ilAbstractSearch\getFilter(), and ilAbstractSearch\setFields().
Referenced by performSearch().
& ilAdvancedSearch::__searchLanguage | ( | ) |
Definition at line 215 of file class.ilAdvancedSearch.php.
References $ilDB, $query, $res, $row, ilAbstractSearch\$search_result, DB_FETCHMODE_OBJECT, and ilAbstractSearch\getFilter().
Referenced by performSearch().
& ilAdvancedSearch::__searchLifecycle | ( | ) |
Definition at line 439 of file class.ilAdvancedSearch.php.
References $ilDB, $query, $res, $row, ilAbstractSearch\$search_result, ilAbstractSearch\__createLocateString(), ilAbstractSearch\__prepareFound(), DB_FETCHMODE_OBJECT, ilAbstractSearch\getFilter(), and ilAbstractSearch\setFields().
Referenced by performSearch().
& ilAdvancedSearch::__searchRequirement | ( | ) |
Definition at line 288 of file class.ilAdvancedSearch.php.
References $query, $res, $row, ilAbstractSearch\$search_result, __createRequirementWhere(), DB_FETCHMODE_OBJECT, and ilAbstractSearch\getFilter().
Referenced by performSearch().
& ilAdvancedSearch::__searchRights | ( | ) |
Definition at line 346 of file class.ilAdvancedSearch.php.
References $query, $res, $row, ilAbstractSearch\$search_result, __createRightsWhere(), DB_FETCHMODE_OBJECT, and ilAbstractSearch\getFilter().
Referenced by performSearch().
& ilAdvancedSearch::__searchTaxon | ( | ) |
Definition at line 384 of file class.ilAdvancedSearch.php.
References $query, $res, $row, 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 $query, $res, $row, ilAbstractSearch\$search_result, ilAbstractSearch\__createLocateString(), DB_FETCHMODE_OBJECT, ilAbstractSearch\getFilter(), and ilAbstractSearch\setFields().
Referenced by performSearch().
& ilAdvancedSearch::__searchTypicalAgeRange | ( | ) |
Definition at line 325 of file class.ilAdvancedSearch.php.
References $query, $res, $row, 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.