3require_once 
"Services/ADT/classes/Bridges/class.ilADTSearchBridgeSingle.php";
 
   18        if ($value !== 
null) {
 
   19            $this->
getADT()->setSelection($value);
 
   32        $def = $this->
getADT()->getCopyOfDefinition();
 
   34        $options = $def->getOptions();
 
   37        $lng->loadLanguageModule(
"search");
 
   38        $options = array(
"" => 
$lng->txt(
"search_any")) + $options;
 
   41        $select->setOptions($options);
 
   43        $select->setValue($this->
getADT()->getSelection());
 
   55                $item->setValue($post);
 
   56            } elseif (array_key_exists($this->
getElementId(), $this->table_filter_fields)) {
 
   57                $this->table_filter_fields[$this->
getElementId()]->setValue($post);
 
   61            $this->
getADT()->setSelection($post);
 
   64            $this->
getADT()->setSelection();
 
   82            return $a_element_id . 
" = " . 
$ilDB->quote($this->
getADT()->getSelection(), 
$type);
 
   90        return $this->
getADT()->equals($a_adt);
 
   99            return serialize(array($this->
getADT()->getSelection()));
 
  105        $a_value = unserialize($a_value);
 
  106        if (is_array($a_value)) {
 
  107            $this->
getADT()->setSelection($a_value[0]);
 
An exception for terminatinating execution or to throw for unit testing.
ADT definition base class.
isInCondition(ilADT $a_adt)
Compare directly against ADT.
setSerializedValue($a_value)
Set current value(s) in serialized form (for easy persisting)
addToForm()
Add ADT-specific fields to form.
isValidADTDefinition(ilADTDefinition $a_adt_def)
Check if given ADT definition is valid.
getSQLCondition($a_element_id)
Get SQL condition for current value(s)
getSerializedValue()
Get current value(s) in serialized form (for easy persisting)
importFromPost(array $a_post=null)
Import values from (search) form request POST data.
loadFilter()
Load filter value(s) into ADT.
readFilter()
Load value(s) from filter store (in session)
extractPostValues(array $a_post=null)
Extract data from (post) values.
addToParentElement(ilFormPropertyGUI $a_field)
Add form field to parent element.
getElementId()
Get element id.
shouldBeImportedFromPost($a_post)
Check if incoming values should be imported at all.
writeFilter($a_value=null)
Write value(s) to filter store (in session)