ILIAS
Release_4_0_x_branch Revision 61816
|
Public Member Functions | |
__construct ($query_parser) | |
Constructor. | |
setDefinition ($a_def) | |
set Definition | |
getDefinition () | |
get definition | |
performSearch () | |
perform search | |
setTimeRange ($start, $end) | |
set time range | |
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) |
Protected Attributes | |
$definition |
Additional Inherited Members | |
Data Fields inherited from ilAbstractSearch | |
$db = null | |
$query_parser = null | |
$search_result = null | |
$object_types |
Definition at line 35 of file class.ilAdvancedMDSearch.php.
ilAdvancedMDSearch::__construct | ( | $query_parser | ) |
Constructor.
public
obj | query parser |
Reimplemented in ilAdvancedMDLikeSearch.
Definition at line 46 of file class.ilAdvancedMDSearch.php.
References ilAbstractSearch\$query_parser.
ilAdvancedMDSearch::getDefinition | ( | ) |
get definition
public
Definition at line 69 of file class.ilAdvancedMDSearch.php.
References $definition.
Referenced by performSearch().
ilAdvancedMDSearch::performSearch | ( | ) |
perform search
public
Reimplemented from ilAbstractSearch.
Definition at line 81 of file class.ilAdvancedMDSearch.php.
References $ilDB, $query, $res, $row, ilAbstractSearch\$search_result, ilAbstractSearch\__createLocateString(), DB_FETCHMODE_OBJECT, getDefinition(), ilAbstractSearch\getFilter(), ilAbstractSearch\setFields(), ilAdvancedMDFieldDefinition\TYPE_DATE, ilAdvancedMDFieldDefinition\TYPE_DATETIME, ilAdvancedMDFieldDefinition\TYPE_SELECT, and ilAdvancedMDFieldDefinition\TYPE_TEXT.
ilAdvancedMDSearch::setDefinition | ( | $a_def | ) |
set Definition
public
obj | field definition object |
Definition at line 58 of file class.ilAdvancedMDSearch.php.
ilAdvancedMDSearch::setTimeRange | ( | $start, | |
$end | |||
) |
set time range
public
int | unix start time |
int | unix end time |
Definition at line 142 of file class.ilAdvancedMDSearch.php.
References $start.
|
protected |
Definition at line 37 of file class.ilAdvancedMDSearch.php.
Referenced by getDefinition().