19 declare(strict_types=1);
33 if ($value !==
null) {
42 $adt_date = $this->
getADT()->getDate();
45 $date->setShowTime(
false);
47 $date->setDate($adt_date);
57 return ($a_post[
'lower'] ??
false) || ($a_post[
'upper'] ??
false);
69 $item->setDate($date);
70 } elseif (array_key_exists($this->
getElementId(), $this->table_filter_fields)) {
71 $this->table_filter_fields[$this->
getElementId()]->setDate($date);
75 $this->
getADT()->setDate($date);
78 $this->
getADT()->setDate();
85 public function getSQLCondition(
string $a_element_id,
int $mode = self::SQL_LIKE, array $quotedWords = []): string
88 return $a_element_id .
" = " . $this->db->quote($this->
getADT()->getDate()->
get(
IL_CAL_DATE),
"date");
97 return $this->
getADT()->equals($a_adt);
112 $a_value = unserialize($a_value);
113 if (is_array($a_value)) {
static parseIncomingDate($value, bool $add_time=false)
Try to parse incoming value to date object.
isValidADTDefinition(ilADTDefinition $a_adt_def)
setSerializedValue(string $a_value)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
readFilter()
Load value(s) from filter store (in session)
Class ilADTSearchBridgeSingle.
getSQLCondition(string $a_element_id, int $mode=self::SQL_LIKE, array $quotedWords=[])
isInCondition(ilADT $a_adt)
extractPostValues(?array $a_post=null)
Extract data from (post) values.
importFromPost(?array $a_post=null)
writeFilter($a_value=null)
Write value(s) to filter store (in session)
ADT definition base class.
shouldBeImportedFromPost($a_post)
addToParentElement(ilFormPropertyGUI $a_field)
Add form field to parent element.