3require_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));
 
An exception for terminatinating execution or to throw for unit testing.
ADT definition base class.
static getInstance()
Get singleton.
setDefinition(ilADTDefinition $a_adt_def)
Set ADT definition.
getUpperADT()
Get lower ADT.
validate()
Validate current data.
getLowerADT()
Get lower ADT.
ADT search bridge base class.
addToElementId($a_add)
Add sub-element.
isValidADTDefinition(ilADTDefinition $a_adt_def)
Check if given ADT definition is valid.