ILIAS
Release_4_0_x_branch Revision 61816
|
Public Member Functions | |
ilMetaDataSearch (&$qp_obj) | |
Constructor public. | |
setMode ($a_mode) | |
Define meta elements to search. | |
getMode () | |
& | performSearch () |
__createInStatement () | |
__searchContribute () | |
__searchKeywords () | |
__searchTitles () | |
__searchDescriptions () | |
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.ilMetaDataSearch.php.
ilMetaDataSearch::__createInStatement | ( | ) |
Definition at line 98 of file class.ilMetaDataSearch.php.
References $in, $type, and ilAbstractSearch\getFilter().
Referenced by __searchContribute(), __searchDescriptions(), __searchKeywords(), and __searchTitles().
ilMetaDataSearch::__searchContribute | ( | ) |
Definition at line 115 of file class.ilMetaDataSearch.php.
References $in, $query, $res, $row, ilAbstractSearch\$search_result, __createInStatement(), ilAbstractSearch\__createLocateString(), DB_FETCHMODE_OBJECT, and ilAbstractSearch\setFields().
Referenced by performSearch().
ilMetaDataSearch::__searchDescriptions | ( | ) |
Definition at line 180 of file class.ilMetaDataSearch.php.
References $in, $query, $res, $row, ilAbstractSearch\$search_result, __createInStatement(), ilAbstractSearch\__createLocateString(), DB_FETCHMODE_OBJECT, and ilAbstractSearch\setFields().
Referenced by performSearch().
ilMetaDataSearch::__searchKeywords | ( | ) |
Definition at line 138 of file class.ilMetaDataSearch.php.
References $in, $query, $res, $row, ilAbstractSearch\$search_result, __createInStatement(), ilAbstractSearch\__createLocateString(), DB_FETCHMODE_OBJECT, and ilAbstractSearch\setFields().
Referenced by performSearch().
ilMetaDataSearch::__searchTitles | ( | ) |
Definition at line 159 of file class.ilMetaDataSearch.php.
References $in, $query, $res, $row, ilAbstractSearch\$search_result, __createInStatement(), ilAbstractSearch\__createLocateString(), DB_FETCHMODE_OBJECT, and ilAbstractSearch\setFields().
Referenced by performSearch().
ilMetaDataSearch::getMode | ( | ) |
Definition at line 67 of file class.ilMetaDataSearch.php.
References $mode.
Referenced by performSearch().
ilMetaDataSearch::ilMetaDataSearch | ( | & | $qp_obj | ) |
Constructor public.
Definition at line 52 of file class.ilMetaDataSearch.php.
References ilAbstractSearch\ilAbstractSearch().
Referenced by ilLikeMetaDataSearch\ilLikeMetaDataSearch().
& ilMetaDataSearch::performSearch | ( | ) |
Reimplemented from ilAbstractSearch.
Definition at line 73 of file class.ilMetaDataSearch.php.
References __searchContribute(), __searchDescriptions(), __searchKeywords(), __searchTitles(), and getMode().
ilMetaDataSearch::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.ilMetaDataSearch.php.
ilMetaDataSearch::$db = null |
Definition at line 46 of file class.ilMetaDataSearch.php.
ilMetaDataSearch::$mode = '' |
Definition at line 39 of file class.ilMetaDataSearch.php.
Referenced by getMode().
ilMetaDataSearch::$query_parser = null |
Definition at line 44 of file class.ilMetaDataSearch.php.