ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilADTPresentationBridge Class Reference

ADT presentation bridge base class. More...

+ Inheritance diagram for ilADTPresentationBridge:
+ Collaboration diagram for ilADTPresentationBridge:

Public Member Functions

 __construct (ilADT $a_adt)
 Constructor.
 getADT ()
 Get ADT.
 getList ()
 Get list presentation.
 getHTML ()
 Get HTML presentation.
 getSortable ()
 Get sortable value presentation.

Protected Member Functions

 isValidADT (ilADT $a_adt)
 Check if given ADT is valid.
 setADT (ilADT $a_adt)
 Set ADT.

Protected Attributes

 $adt

Detailed Description

ADT presentation bridge base class.

Author
Jörg Lützenkirchen luetz.nosp@m.enki.nosp@m.rchen.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
Version
$Id$

Definition at line 11 of file class.ilADTPresentationBridge.php.

Constructor & Destructor Documentation

ilADTPresentationBridge::__construct ( ilADT  $a_adt)

Constructor.

Parameters
ilADT$a_adt
Returns
self

Definition at line 21 of file class.ilADTPresentationBridge.php.

References setADT().

{
$this->setADT($a_adt);
}

+ Here is the call graph for this function:

Member Function Documentation

ilADTPresentationBridge::getList ( )

Get list presentation.

Returns
string

Reimplemented in ilADTLocationPresentationBridge.

Definition at line 72 of file class.ilADTPresentationBridge.php.

References getHTML().

{
return $this->getHTML();
}

+ Here is the call graph for this function:

ilADTPresentationBridge::isValidADT ( ilADT  $a_adt)
abstractprotected

Check if given ADT is valid.

:TODO: This could be avoided with type-specifc constructors :TODO: bridge base class?

Parameters
ilADT$a_adt

Reimplemented in ilADTLocationPresentationBridge, ilADTGroupPresentationBridge, ilADTBooleanPresentationBridge, ilADTDatePresentationBridge, ilADTDateTimePresentationBridge, ilADTEnumPresentationBridge, ilADTFloatPresentationBridge, ilADTIntegerPresentationBridge, ilADTMultiEnumPresentationBridge, ilADTMultiTextPresentationBridge, and ilADTTextPresentationBridge.

Referenced by setADT().

+ Here is the caller graph for this function:

ilADTPresentationBridge::setADT ( ilADT  $a_adt)
protected

Set ADT.

Exceptions
Exception
Parameters
ilADT$a_adt

Definition at line 47 of file class.ilADTPresentationBridge.php.

References isValidADT().

Referenced by __construct().

{
if(!$this->isValidADT($a_adt))
{
throw new Exception('ADTPresentationBridge Type mismatch.');
}
$this->adt = $a_adt;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Field Documentation

ilADTPresentationBridge::$adt
protected

Definition at line 13 of file class.ilADTPresentationBridge.php.

Referenced by getADT().


The documentation for this class was generated from the following file: