3 require_once
"Services/ADT/classes/Bridges/class.ilADTSearchBridgeSingle.php";
18 if ($value !== null) {
19 $this->
getADT()->setSelection($value);
35 $lng->loadLanguageModule(
"search");
41 $select->setValue($this->
getADT()->getSelection());
53 $item->setValue(
$post);
54 } elseif (array_key_exists($this->
getElementId(), $this->table_filter_fields)) {
62 $this->
getADT()->setSelection();
78 return $a_element_id .
" = " . $ilDB->quote($this->
getADT()->getSelection(),
$type);
86 return $this->
getADT()->equals($a_adt);
95 return serialize(
array($this->
getADT()->getSelection()));
101 $a_value = unserialize($a_value);
102 if (is_array($a_value)) {
103 $this->
getADT()->setSelection($a_value[0]);
getSQLCondition($a_element_id)
extractPostValues(array $a_post=null)
Extract data from (post) values.
shouldBeImportedFromPost($a_post)
Check if incoming values should be imported at all.
readFilter()
Load value(s) from filter store (in session)
Create styles array
The data for the language used.
isValidADTDefinition(ilADTDefinition $a_adt_def)
isInCondition(ilADT $a_adt)
writeFilter($a_value=null)
Write value(s) to filter store (in session)
importFromPost(array $a_post=null)
setSerializedValue($a_value)
ADT definition base class.
getElementId()
Get element id.
addToParentElement(ilFormPropertyGUI $a_field)
Add form field to parent element.
if(!isset($_REQUEST['ReturnTo'])) if(!isset($_REQUEST['AuthId'])) $options