35 include_once
'Services/Search/classes/class.ilAbstractSearch.php';
53 parent::__construct($qp_obj);
66 $where = $this->__createWhereCondition();
77 case self::CDATE_OPERATOR_AFTER:
81 case self::CDATE_OPERATOR_BEFORE:
85 case self::CDATE_OPERATOR_ON:
86 $cdate =
'AND '.$ilDB->like(
100 $query =
"SELECT obj_id,type ".
103 $where.
" ".$cdate.
' '.
$in.
' '.
104 "ORDER BY obj_id DESC";
111 $this->search_result->addEntry(
$row->obj_id,
$row->type,$this->__prepareFound(
$row));
123 $in =
' AND '.$ilDB->in(
'type',(
array) $this->object_types,
false,
'text');
138 $this->cdate_date = $day;
143 $this->cdate_operator = $a_operator;
__construct(&$qp_obj)
Constructor public.
getCreationDateFilterDate()
__createLocateString()
build locate string in case of AND search
const CDATE_OPERATOR_BEFORE
setFields($a_fields)
Set fields to search.
const CDATE_OPERATOR_AFTER
getIdFilter()
Get Id filter.
setCreationDateFilterDate(ilDate $day)
Set creation date filter.
Create styles array
The data for the language used.
if(php_sapi_name() !='cli') $in
setCreationDateFilterOperator($a_operator)
getCreationDateFilterOperator()
static getLogger($a_component_id)
Get component logger.