51 throw new Exception(
'ADTPresentationBridge Type mismatch.');
98 $this->decorator = $a_callback;
109 if (is_callable($this->decorator)) {
110 $a_value = call_user_func($this->decorator, $a_value);
An exception for terminatinating execution or to throw for unit testing.
ADT presentation bridge base class.
__construct(ilADT $a_adt)
Constructor.
getList()
Get list presentation.
getSortable()
Get sortable value presentation.
isValidADT(ilADT $a_adt)
Check if given ADT is valid.
setDecoratorCallBack($a_callback)
Set decorator callback.
decorate($a_value)
Decorate value.
getHTML()
Get HTML presentation.
setADT(ilADT $a_adt)
Set ADT.