3 require_once
"Services/ADT/classes/Bridges/class.ilADTSearchBridge.php";
14 $this->adt_lower =
$factory->getInstanceByDefinition($a_adt_def);
15 $this->adt_upper =
$factory->getInstanceByDefinition($a_adt_def);
19 throw new Exception(
'ilADTSearchBridge type mismatch.');
56 $mess = $this->
getLowerADT()->getValidationErrors();
57 foreach ($mess as $error_code) {
58 $tmp[] = $this->
getLowerADT()->translateErrorCode($error_code);
62 $field->setAlert(implode(
"<br />", $tmp));
66 $mess = $this->
getUpperADT()->getValidationErrors();
67 foreach ($mess as $error_code) {
68 $tmp[] = $this->
getUpperADT()->translateErrorCode($error_code);
72 $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)
ADT search bridge base class.
ADT definition base class.
getLowerADT()
Get lower ADT.
addToElementId($a_add)
Add sub-element.