3 require_once
"Services/ADT/classes/Bridges/class.ilADTSearchBridgeRange.php";
44 $check->addSubItem($date_from);
48 $date_from->setDate($this->
getLowerADT()->getDate());
54 $check->addSubItem($date_until);
58 $date_until->setDate($this->
getUpperADT()->getDate());
66 include_once(
"./Services/Form/classes/class.ilCombinationInputGUI.php");
67 include_once(
"./Services/Form/classes/class.ilDateTimeInputGUI.php");
72 $item->addCombinationItem(
"lower", $lower, $lng->txt(
"from"));
80 $item->addCombinationItem(
"upper", $upper, $lng->txt(
"to"));
96 !(
bool)$this->text_input)
98 return (
bool)$a_post[
"tgl"];
100 return parent::shouldBeImportedFromPost($a_post);
109 include_once
"Services/Calendar/classes/class.ilCalendarUtil.php";
126 $item->setDate($end);
128 else if(array_key_exists($this->
getElementId(), $this->table_filter_fields))
130 $this->table_filter_fields[$this->
getElementId()]->getCombinationItem(
"lower")->setDate(
$start);
131 $this->table_filter_fields[$this->
getElementId()]->getCombinationItem(
"upper")->setDate($end);
134 "upper" => (!$end || $end->isNull()) ? null : $end->get(
IL_CAL_DATE)
166 return "(".implode(
" AND ", $sql).
")";
204 return serialize(
$res);
210 $a_value = unserialize($a_value);
211 if(is_array($a_value))
213 if(isset($a_value[
"lower"]))
217 if(isset($a_value[
"upper"]))
setSerializedValue($a_value)
isValidADTDefinition(ilADTDefinition $a_adt_def)
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.
importFromPost(array $a_post=null)
readFilter()
Load value(s) from filter store (in session)
getSQLCondition($a_element_id)
getUpperADT()
Get lower ADT.
Create styles array
The data for the language used.
shouldBeImportedFromPost($a_post)
writeFilter($a_value=null)
Write value(s) to filter store (in session)
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.
isInCondition(ilADT $a_adt)