ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilADTSearchBridgeMulti Class Reference
+ Inheritance diagram for ilADTSearchBridgeMulti:
+ Collaboration diagram for ilADTSearchBridgeMulti:

Protected Member Functions

 setDefinition (ilADTDefinition $a_adt_def)
 Set ADT definition.
 convertADTDefinitionToMulti (ilADTDefinition $a_adt_def)
 Convert definition to multi version.

Additional Inherited Members

- Public Member Functions inherited from ilADTSearchBridgeSingle
 getADT ()
 Get ADT.
 isNull ()
 Is null ?
 isValid ()
 validate ()
 Validate current data.
- Protected Attributes inherited from ilADTSearchBridgeSingle
 $adt

Detailed Description

Definition at line 5 of file class.ilADTSearchBridgeMulti.php.

Member Function Documentation

ilADTSearchBridgeMulti::convertADTDefinitionToMulti ( ilADTDefinition  $a_adt_def)
abstractprotected

Convert definition to multi version.

Returns
ilADTDefinition

Reimplemented in ilADTEnumSearchBridgeMulti.

Referenced by setDefinition().

+ Here is the caller graph for this function:

ilADTSearchBridgeMulti::setDefinition ( ilADTDefinition  $a_adt_def)
protected

Set ADT definition.

Parameters
ilADTDefinition$a_adt_def

Reimplemented from ilADTSearchBridgeSingle.

Definition at line 7 of file class.ilADTSearchBridgeMulti.php.

References convertADTDefinitionToMulti(), ilADTFactory\getInstance(), and ilADTSearchBridge\isValidADTDefinition().

{
if($this->isValidADTDefinition($a_adt_def))
{
$def = $this->convertADTDefinitionToMulti($a_adt_def);
$this->adt = ilADTFactory::getInstance()->getInstanceByDefinition($def);
return;
}
throw new Exception('ilADTSearchBridge type mismatch.');
}

+ Here is the call graph for this function:


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