3 require_once
"Services/ADT/classes/Bridges/class.ilADTSearchBridgeRange.php";
46 $check->addSubItem($date_from);
50 $date_from->setDate($this->
getLowerADT()->getDate());
56 $check->addSubItem($date_until);
60 $date_until->setDate($this->
getUpperADT()->getDate());
69 include_once(
"./Services/Form/classes/class.ilCombinationInputGUI.php");
70 include_once(
"./Services/Form/classes/class.ilDateTimeInputGUI.php");
74 $lower->setShowTime(
true);
75 $item->addCombinationItem(
"lower", $lower, $lng->txt(
"from"));
83 $upper->setShowTime(
true);
84 $item->addCombinationItem(
"upper", $upper, $lng->txt(
"to"));
100 !(
bool)$this->text_input)
102 return (
bool)$a_post[
"tgl"];
104 return parent::shouldBeImportedFromPost($a_post);
113 include_once
"Services/Calendar/classes/class.ilCalendarUtil.php";
130 $item->setDate($end);
132 else if(array_key_exists($this->
getElementId(), $this->table_filter_fields))
134 $this->table_filter_fields[$this->
getElementId()]->getCombinationItem(
"lower")->setDate(
$start);
135 $this->table_filter_fields[$this->
getElementId()]->getCombinationItem(
"upper")->setDate($end);
138 "upper" => (!$end || $end->isNull()) ? null : $end->get(
IL_CAL_DATETIME)
170 return "(".implode(
" AND ", $sql).
")";
208 return serialize(
$res);
214 $a_value = unserialize($a_value);
215 if(is_array($a_value))
217 if(isset($a_value[
"lower"]))
221 if(isset($a_value[
"upper"]))
importFromPost(array $a_post=null)
isLargerOrEqual(ilADT $a_adt)
Check if given ADT is larger or equal than self.
isInbetweenOrEqual(ilADT $a_adt_from, ilADT $a_adt_to)
Check if self is inbetween given ADTs (inclusive)
isSmallerOrEqual(ilADT $a_adt)
Check if given ADT is smaller or equal than self.
extractPostValues(array $a_post=null)
Extract data from (post) values.
isValidADTDefinition(ilADTDefinition $a_adt_def)
readFilter()
Load value(s) from filter store (in session)
getUpperADT()
Get lower ADT.
Create styles array
The data for the language used.
getSQLCondition($a_element_id)
setSerializedValue($a_value)
writeFilter($a_value=null)
Write value(s) to filter store (in session)
shouldBeImportedFromPost($a_post)
isInCondition(ilADT $a_adt)
ADT definition base class.
getElementId()
Get element id.
static parseIncomingDate($a_value, $a_add_time=null)
Try to parse incoming value to date object.
getLowerADT()
Get lower ADT.
addToParentElement(ilFormPropertyGUI $a_field)
Add form field to parent element.
addToElementId($a_add)
Add sub-element.