3 require_once
"Services/ADT/classes/Bridges/class.ilADTSearchBridgeRange.php";
16 $this->text_input = (bool)$a_value;
49 if(!(
bool)$this->text_input)
62 $check->addSubItem($date_from);
66 $date_from->setDate($this->
getLowerADT()->getDate());
72 $check->addSubItem($date_until);
76 $date_until->setDate($this->
getUpperADT()->getDate());
80 if(!(
bool)$this->text_input)
82 $check->setChecked($checked);
95 include_once(
"./Services/Form/classes/class.ilCombinationInputGUI.php");
96 include_once(
"./Services/Form/classes/class.ilDateTimeInputGUI.php");
100 $lower->setShowTime(
true);
101 $item->addCombinationItem(
"lower", $lower, $lng->txt(
"from"));
109 $upper->setShowTime(
true);
110 $item->addCombinationItem(
"upper", $upper, $lng->txt(
"to"));
127 !(
bool)$this->text_input)
129 return (
bool)$a_post[
"tgl"];
140 include_once
"Services/ADT/classes/class.ilADTDateSearchUtil.php";
143 (
bool)$this->text_input)
156 if($start && $end && $start > $end)
177 $item->setDate($start);
180 $item->setDate($end);
182 if(!(
bool)$this->text_input)
185 $item->setChecked(
true);
188 else if(array_key_exists($this->
getElementId(), $this->table_filter_fields))
190 $this->table_filter_fields[$this->
getElementId()]->getCombinationItem(
"lower")->setDate($start);
191 $this->table_filter_fields[$this->
getElementId()]->getCombinationItem(
"upper")->setDate($end);
193 "lower" => (!$start || $start->isNull()) ? null: $start->get(
IL_CAL_DATETIME),
194 "upper" => (!$end || $end->isNull()) ? null : $end->get(
IL_CAL_DATETIME)
204 !(
bool)$this->text_input)
207 $item->setChecked(
false);
233 return "(".implode(
" AND ", $sql).
")";
269 return serialize(
$res);
275 $a_value = unserialize($a_value);
276 if(is_array($a_value))
278 if(isset($a_value[
"lower"]))
282 if(isset($a_value[
"upper"]))