19declare(strict_types=1);
33 $this->adt_lower = $factory->getInstanceByDefinition($a_adt_def);
34 $this->adt_upper = $factory->getInstanceByDefinition($a_adt_def);
38 throw new InvalidArgumentException(
'ilADTSearchBridge type mismatch.');
82 $mess = $this->
getLowerADT()->getValidationErrors();
83 foreach ($mess as $error_code) {
84 $tmp[] = $this->
getLowerADT()->translateErrorCode($error_code);
88 $field->setAlert(implode(
"<br />", $tmp));
92 $mess = $this->
getUpperADT()->getValidationErrors();
93 foreach ($mess as $error_code) {
94 $tmp[] = $this->
getUpperADT()->translateErrorCode($error_code);
98 $field->setAlert(implode(
"<br />", $tmp));
ADT definition base class.
Class ilADTSearchBridgeRange.
setDefinition(ilADTDefinition $a_adt_def)
getUpperADT()
Get upper ADT.
validate()
Validate current data.
getLowerADT()
Get lower ADT.
ADT search bridge base class.
addToElementId(string $a_add)
Add sub-element.
isValidADTDefinition(ilADTDefinition $a_adt_def)