3 require_once
"Services/ADT/classes/Bridges/class.ilADTSearchBridgeSingle.php";
16 $this->text_input = (bool)$a_value;
38 $adt_date = $this->
getADT()->getDate();
41 $date->setShowTime(
false);
43 if(!(
bool)$this->text_input)
45 $checked = !(!$adt_date || $adt_date->isNull());
46 $date->enableDateActivation($lng->txt(
"enabled"), $this->
addToElementId(
"tgl"), $checked);
53 $date->setDate($adt_date);
60 if(!(
bool)$this->text_input)
62 return (
bool)$a_post[
"tgl"];
64 return parent::shouldBeImportedFromPost($post);
73 include_once
"Services/ADT/classes/class.ilADTDateSearchUtil.php";
75 if((
bool)$this->text_input)
94 $item->setDate($date);
96 else if(array_key_exists($this->
getElementId(), $this->table_filter_fields))
98 $this->table_filter_fields[$this->
getElementId()]->setDate($date);
102 $this->
getADT()->setDate($date);
107 $this->
getADT()->setDate();
120 return $a_element_id.
" = ".$ilDB->quote($this->
getADT()->getDate()->
get(
IL_CAL_DATE),
"date");
126 return $this->
getADT()->equals($a_adt);
142 $a_value = unserialize($a_value);
143 if(is_array($a_value))
getSQLCondition($a_element_id)
static handleSelectInputPost($a_mode, $a_post)
Import select post data.
isValidADTDefinition(ilADTDefinition $a_adt_def)
shouldBeImportedFromPost(array $a_post)
static handleTextInputPost($a_mode, $a_post)
Import text input post data.
extractPostValues(array $a_post=null)
Extract data from (post) values.
setSerializedValue($a_value)
importFromPost(array $a_post=null)
readFilter()
Load value(s) from filter store (in session)
isInCondition(ilADTDate $a_adt)
writeFilter($a_value=null)
Write value(s) to filter store (in session)
setTextInputMode($a_value)
ADT definition base class.
getElementId()
Get element id.
addToParentElement(ilFormPropertyGUI $a_field)
Add form field to parent element.
addToElementId($a_add)
Add sub-element.