ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
ADT presentation bridge base class. More...
Public Member Functions | |
__construct (ilADT $a_adt) | |
Constructor. More... | |
getADT () | |
Get ADT. More... | |
getList () | |
Get list presentation. More... | |
getHTML () | |
Get HTML presentation. More... | |
getSortable () | |
Get sortable value presentation. More... | |
setDecoratorCallBack ($a_callback) | |
Set decorator callback. More... | |
Protected Member Functions | |
isValidADT (ilADT $a_adt) | |
Check if given ADT is valid. More... | |
setADT (ilADT $a_adt) | |
Set ADT. More... | |
decorate ($a_value) | |
Decorate value. More... | |
Protected Attributes | |
$adt | |
$decorator | |
ADT presentation bridge base class.
Definition at line 11 of file class.ilADTPresentationBridge.php.
ilADTPresentationBridge::__construct | ( | ilADT | $a_adt | ) |
Constructor.
ilADT | $a_adt |
Definition at line 22 of file class.ilADTPresentationBridge.php.
References isValidADT(), and setADT().
|
protected |
Decorate value.
mixed | $a_value |
Definition at line 108 of file class.ilADTPresentationBridge.php.
Referenced by ilADTBooleanPresentationBridge\getHTML(), ilADTTextPresentationBridge\getHTML(), ilADTMultiTextPresentationBridge\getHTML(), ilADTMultiEnumPresentationBridge\getHTML(), ilADTDatePresentationBridge\getHTML(), ilADTIntegerPresentationBridge\getHTML(), ilADTEnumPresentationBridge\getHTML(), ilADTFloatPresentationBridge\getHTML(), ilADTDateTimePresentationBridge\getHTML(), ilADTLocationPresentationBridge\getHTML(), and ilADTGroupPresentationBridge\getHTML().
ilADTPresentationBridge::getADT | ( | ) |
Get ADT.
Definition at line 63 of file class.ilADTPresentationBridge.php.
References $adt.
Referenced by ilADTBooleanPresentationBridge\getHTML(), ilADTDateTimePresentationBridge\getHTML(), ilADTFloatPresentationBridge\getHTML(), ilADTMultiEnumPresentationBridge\getHTML(), ilADTMultiTextPresentationBridge\getHTML(), ilADTTextPresentationBridge\getHTML(), ilADTDatePresentationBridge\getHTML(), ilADTIntegerPresentationBridge\getHTML(), ilADTEnumPresentationBridge\getHTML(), ilADTLocationPresentationBridge\getHTML(), ilADTLocationPresentationBridge\getList(), ilADTTextPresentationBridge\getSortable(), ilADTDatePresentationBridge\getSortable(), ilADTDateTimePresentationBridge\getSortable(), ilADTEnumPresentationBridge\getSortable(), ilADTIntegerPresentationBridge\getSortable(), ilADTBooleanPresentationBridge\getSortable(), ilADTMultiTextPresentationBridge\getSortable(), ilADTFloatPresentationBridge\getSortable(), ilADTMultiEnumPresentationBridge\getSortable(), ilADTLocationPresentationBridge\getSortable(), and ilADTGroupPresentationBridge\prepareElements().
|
abstract |
Get HTML presentation.
Referenced by getList().
ilADTPresentationBridge::getList | ( | ) |
Get list presentation.
Definition at line 73 of file class.ilADTPresentationBridge.php.
References getHTML(), and getSortable().
|
abstract |
Get sortable value presentation.
Referenced by getList().
|
abstractprotected |
Check if given ADT is valid.
:TODO: This could be avoided with type-specifc constructors :TODO: bridge base class?
ilADT | $a_adt |
Referenced by __construct(), and setADT().
|
protected |
Set ADT.
Exception |
ilADT | $a_adt |
Definition at line 48 of file class.ilADTPresentationBridge.php.
References isValidADT().
Referenced by __construct().
ilADTPresentationBridge::setDecoratorCallBack | ( | $a_callback | ) |
Set decorator callback.
string | array | $a_callback |
Definition at line 97 of file class.ilADTPresentationBridge.php.
|
protected |
Definition at line 13 of file class.ilADTPresentationBridge.php.
Referenced by getADT().
|
protected |
Definition at line 14 of file class.ilADTPresentationBridge.php.