|
ILIAS
Release_5_0_x_branch Revision 61816
|
Collaboration diagram for ilADTFactory:Public Member Functions | |
| getValidTypes () | |
| Get all ADT types. | |
| isValidType ($a_type) | |
| Check if given type is valid. | |
| initTypeClass ($a_type, $a_class=null) | |
| Init type-specific class. | |
| getDefinitionInstanceByType ($a_type) | |
| Get instance of ADT definition. | |
| getInstanceByDefinition (ilADTDefinition $a_def) | |
| Get instance of ADT. | |
| getFormBridgeForInstance (ilADT $a_adt) | |
| Get form bridge instance for ADT. | |
| getDBBridgeForInstance (ilADT $a_adt) | |
| Get DB bridge instance for ADT. | |
| getPresentationBridgeForInstance (ilADT $a_adt) | |
| Get presentation bridge instance for ADT. | |
| getSearchBridgeForDefinitionInstance (ilADTDefinition $a_adt_def, $a_range=true, $a_multi=true) | |
| Get search bridge instance for ADT definition. | |
| getActiveRecordBridgeForInstance (ilADT $a_adt) | |
| Get active record instance for ADT. | |
Static Public Member Functions | |
| static | getInstance () |
| Get singleton. | |
| static | getActiveRecordInstance (ilADTGroupDBBridge $a_properties) |
| Get active record instance. | |
| static | initActiveRecordByType () |
| Init active record by type. | |
| static | getActiveRecordByTypeInstance (ilADTGroupDBBridge $a_properties) |
| Get active record by type instance. | |
Protected Member Functions | |
| __construct () | |
| Constructor. | |
Static Protected Attributes | |
| static | $instance |
Definition at line 6 of file class.ilADTFactory.php.
|
protected |
Constructor.
Definition at line 15 of file class.ilADTFactory.php.
| ilADTFactory::getActiveRecordBridgeForInstance | ( | ilADT | $a_adt | ) |
Get active record instance for ADT.
| ilADT | $a_adt |
Definition at line 212 of file class.ilADTFactory.php.
References ilADT\getType(), and initTypeClass().
Here is the call graph for this function:
|
static |
Get active record by type instance.
| ilADTGroupDBBridge | $a_properties |
Definition at line 249 of file class.ilADTFactory.php.
References initActiveRecordByType().
Here is the call graph for this function:
|
static |
Get active record instance.
| ilADTGroupDBBridge | $a_properties |
Definition at line 229 of file class.ilADTFactory.php.
| ilADTFactory::getDBBridgeForInstance | ( | ilADT | $a_adt | ) |
Get DB bridge instance for ADT.
| Exception |
| ilADT | $a_adt |
Definition at line 139 of file class.ilADTFactory.php.
References ilADT\getType(), and initTypeClass().
Here is the call graph for this function:| ilADTFactory::getDefinitionInstanceByType | ( | $a_type | ) |
Get instance of ADT definition.
| Exception |
| string | $a_type |
Definition at line 88 of file class.ilADTFactory.php.
References initTypeClass().
Here is the call graph for this function:| ilADTFactory::getFormBridgeForInstance | ( | ilADT | $a_adt | ) |
Get form bridge instance for ADT.
| Exception |
| ilADT | $a_adt |
Definition at line 126 of file class.ilADTFactory.php.
References ilADT\getType(), and initTypeClass().
Here is the call graph for this function:
|
static |
Get singleton.
Definition at line 26 of file class.ilADTFactory.php.
References $instance.
Referenced by ilAdvancedMDValues\_cloneValues(), ilAdvancedMDValues\_deleteByFieldId(), ilAdvancedMDValues\_deleteByObjId(), ilADTGroup\addElement(), ilADTEnumSearchBridgeMulti\convertADTDefinitionToMulti(), ilWikiAdvMetaDataBlockGUI\fillDataSection(), ilPCAMDPageList\findPages(), ilAdvancedMDValues\getActiveRecord(), ilADTBasedObject\initActiveRecordInstance(), ilADTBasedObjectGUI\initForm(), ilADTTest\initProperties(), ilAdvancedMDRecordGUI\parseEditor(), ilAdvancedMDRecordGUI\parseFilter(), ilAdvancedMDRecordGUI\parseInfoPage(), ilObjOrgUnitGUI\parseInfoScreen(), ilAdvancedMDRecordGUI\parseSearch(), ilAdvancedMDSubstitution\parseValue(), ilAdvancedMDValues\preloadByObjIds(), ilADTGroupPresentationBridge\prepareElements(), ilADTGroupFormBridge\prepareElements(), ilADTGroupActiveRecordBridge\prepareElements(), ilADTGroupDBBridge\prepareElements(), ilAdvancedMDValues\queryForRecords(), ilAdvancedSearchGUI\searchAdvancedMD(), ilADTSearchBridgeMulti\setDefinition(), ilADTSearchBridgeSingle\setDefinition(), and ilADTSearchBridgeRange\setDefinition().
Here is the caller graph for this function:| ilADTFactory::getInstanceByDefinition | ( | ilADTDefinition | $a_def | ) |
Get instance of ADT.
| Exception |
| ilADTDefinition | $a_def |
Definition at line 101 of file class.ilADTFactory.php.
References ilADTDefinition\getType(), and initTypeClass().
Here is the call graph for this function:| ilADTFactory::getPresentationBridgeForInstance | ( | ilADT | $a_adt | ) |
Get presentation bridge instance for ADT.
| Exception |
| ilADT | $a_adt |
Definition at line 152 of file class.ilADTFactory.php.
References ilADT\getType(), and initTypeClass().
Here is the call graph for this function:| ilADTFactory::getSearchBridgeForDefinitionInstance | ( | ilADTDefinition | $a_adt_def, |
$a_range = true, |
|||
$a_multi = true |
|||
| ) |
Get search bridge instance for ADT definition.
| ilADTDefinition | $a_adt_def | |
| bool | $a_range | |
| bool | $a_multi |
Definition at line 166 of file class.ilADTFactory.php.
References ilADTDefinition\getType(), and initTypeClass().
Here is the call graph for this function:| ilADTFactory::getValidTypes | ( | ) |
Get all ADT types.
Definition at line 40 of file class.ilADTFactory.php.
Referenced by isValidType().
Here is the caller graph for this function:
|
static |
Init active record by type.
Definition at line 238 of file class.ilADTFactory.php.
Referenced by ilAdvancedMDValues\findByObjectId(), getActiveRecordByTypeInstance(), ilAdvancedMDFieldDefinitionSelectMulti\importCustomDefinitionFormPostValues(), ilAdvancedMDFieldDefinitionSelect\importCustomDefinitionFormPostValues(), ilAdvancedMDFieldDefinitionSelectMulti\update(), and ilAdvancedMDFieldDefinitionSelect\update().
Here is the caller graph for this function:| ilADTFactory::initTypeClass | ( | $a_type, | |
$a_class = null |
|||
| ) |
Init type-specific class.
| Exception |
| string | $a_type | |
| string | $a_class |
Definition at line 65 of file class.ilADTFactory.php.
References $file, and isValidType().
Referenced by getActiveRecordBridgeForInstance(), getDBBridgeForInstance(), getDefinitionInstanceByType(), getFormBridgeForInstance(), getInstanceByDefinition(), getPresentationBridgeForInstance(), and getSearchBridgeForDefinitionInstance().
Here is the call graph for this function:
Here is the caller graph for this function:| ilADTFactory::isValidType | ( | $a_type | ) |
Check if given type is valid.
| string | $a_type |
Definition at line 52 of file class.ilADTFactory.php.
References getValidTypes().
Referenced by initTypeClass().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprotected |
Definition at line 8 of file class.ilADTFactory.php.
Referenced by getInstance().