3 require_once
"Services/ADT/classes/Bridges/class.ilADTSearchBridge.php";
15 $this->adt_lower = $factory->getInstanceByDefinition($a_adt_def);
16 $this->adt_upper = $factory->getInstanceByDefinition($a_adt_def);
20 throw new Exception(
'ilADTSearchBridge type mismatch.');
58 $mess = $this->
getLowerADT()->getValidationErrors();
59 foreach($mess as $error_code)
61 $tmp[] = $this->
getLowerADT()->translateErrorCode($error_code);
66 $field->setAlert(implode(
"<br />", $tmp));
70 $mess = $this->
getUpperADT()->getValidationErrors();
71 foreach($mess as $error_code)
73 $tmp[] = $this->
getUpperADT()->translateErrorCode($error_code);
78 $field->setAlert(implode(
"<br />", $tmp));
isValidADTDefinition(ilADTDefinition $a_adt_def)
Check if given ADT definition is valid.
static getInstance()
Get singleton.
getUpperADT()
Get lower ADT.
setDefinition(ilADTDefinition $a_adt_def)
Create styles array
The data for the language used.
ADT search bridge base class.
ADT definition base class.
getLowerADT()
Get lower ADT.
addToElementId($a_add)
Add sub-element.