|
ILIAS
release_8 Revision v8.24
|
Class ilADTFactory. More...
Collaboration diagram for ilADTFactory:Public Member Functions | |
| getValidTypes () | |
| Get all ADT types. More... | |
| isValidType (string $a_type) | |
| initTypeClass (string $a_type, string $a_class=null) | |
| getDefinitionInstanceByType (string $a_type) | |
| Get instance of ADT definition. More... | |
| getInstanceByDefinition (ilADTDefinition $a_def) | |
| Get instance of ADT. More... | |
| getFormBridgeForInstance (ilADT $a_adt) | |
| Get form bridge instance for ADT. More... | |
| getDBBridgeForInstance (ilADT $a_adt) | |
| Get DB bridge instance for ADT. More... | |
| getPresentationBridgeForInstance (ilADT $a_adt) | |
| Get presentation bridge instance for ADT. More... | |
| getSearchBridgeForDefinitionInstance (ilADTDefinition $a_adt_def, bool $a_range=true, bool $a_multi=true) | |
| Get search bridge instance for ADT definition. More... | |
| getActiveRecordBridgeForInstance (ilADT $a_adt) | |
| Get active record instance for ADT. More... | |
Static Public Member Functions | |
| static | getInstance () |
| static | getActiveRecordInstance (ilADTGroupDBBridge $a_properties) |
| Get active record instance. More... | |
| static | initActiveRecordByType () |
| Init active record by type. More... | |
| static | getActiveRecordByTypeInstance (ilADTDBBridge $a_properties) |
| Get active record by type instance. More... | |
Data Fields | |
| const | TYPE_LOCALIZED_TEXT = 'LocalizedText' |
Static Protected Attributes | |
| static ilADTFactory | $instance = null |
Class ilADTFactory.
Definition at line 8 of file class.ilADTFactory.php.
| ilADTFactory::getActiveRecordBridgeForInstance | ( | ilADT | $a_adt | ) |
Get active record instance for ADT.
| ilADT | $a_adt |
| InvalidArgumentException |
Definition at line 176 of file class.ilADTFactory.php.
References ilADT\getType().
Here is the call graph for this function:
|
static |
Get active record by type instance.
Definition at line 207 of file class.ilADTFactory.php.
|
static |
Get active record instance.
| ilADTGroupDBBridge | $a_properties |
Definition at line 192 of file class.ilADTFactory.php.
| ilADTFactory::getDBBridgeForInstance | ( | ilADT | $a_adt | ) |
Get DB bridge instance for ADT.
| ilADT | $a_adt |
| InvalidArgumentException |
Definition at line 107 of file class.ilADTFactory.php.
References ilADT\getType(), and initTypeClass().
Here is the call graph for this function:| ilADTFactory::getDefinitionInstanceByType | ( | string | $a_type | ) |
Get instance of ADT definition.
| string | $a_type |
| InvalidArgumentException |
Definition at line 67 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.
| ilADT | $a_adt |
| InvalidArgumentException |
Definition at line 95 of file class.ilADTFactory.php.
References ilADT\getType(), and initTypeClass().
Here is the call graph for this function:
|
static |
Definition at line 14 of file class.ilADTFactory.php.
References $instance.
Referenced by ilAdvancedMDValues\_deleteByFieldId(), ilAdvancedMDValues\_deleteByObjId(), ilADTGroup\addElement(), ilADTEnumSearchBridgeMulti\convertADTDefinitionToMulti(), ilAdvancedMDFieldDefinitionGroupBased\exportOptionToTableGUI(), ilAdvancedMDValues\getActiveRecord(), ilAdvancedMDFieldDefinition\getADT(), ilAdvancedMDFieldDefinitionGroupBased\getADTForOption(), ilAdvancedMDFieldDefinitionAddress\getADTGroup(), ilAdvancedMDFieldDefinition\getADTGroupForDefinitions(), ilLuceneAdvancedSearchFields\getFormElement(), ilObjectMetaDataGUI\getKeyValueList(), ilObjectMetaDataBlockGUI\getLegacyContent(), ilADTBasedObject\initActiveRecordInstance(), ilAdvancedMDFieldDefinitionDate\initADTDefinition(), ilAdvancedMDFieldDefinitionDateTime\initADTDefinition(), ilAdvancedMDFieldDefinitionExternalLink\initADTDefinition(), ilAdvancedMDFieldDefinitionFloat\initADTDefinition(), ilAdvancedMDFieldDefinitionGroupBased\initADTDefinition(), ilAdvancedMDFieldDefinitionInteger\initADTDefinition(), ilAdvancedMDFieldDefinitionInternalLink\initADTDefinition(), ilAdvancedMDFieldDefinitionLocation\initADTDefinition(), ilAdvancedMDFieldDefinitionSelect\initADTDefinition(), ilAdvancedMDFieldDefinitionSelectMulti\initADTDefinition(), ilAdvancedMDFieldDefinitionText\initADTDefinition(), ilADTBasedObjectGUI\initForm(), ilAdvancedMDFieldDefinitionGroupBased\initOptionForm(), ilADTTest\initProperties(), ilAdvancedMDRecordGUI\parseAppointmentPresentationa(), ilAdvancedMDRecordGUI\parseEditor(), ilAdvancedMDRecordGUI\parseFilter(), ilAdvancedMDRecordGUI\parseInfoPage(), ilAdvancedMDRecordGUI\parseSearch(), ilAdvancedMDSubstitution\parseValue(), ilAdvancedMDValues\preloadByObjIds(), ilADTGroupActiveRecordBridge\prepareElements(), ilADTGroupDBBridge\prepareElements(), ilADTGroupFormBridge\prepareElements(), ilADTGroupPresentationBridge\prepareElements(), ilAdvancedSearchGUI\searchAdvancedMD(), ilADTSearchBridgeMulti\setDefinition(), ilADTSearchBridgeRange\setDefinition(), ilADTSearchBridgeSingle\setDefinition(), ilADTFactoryTest\testConstruct(), ilAdvancedMDFieldDefinitionSelect\update(), and ilAdvancedMDFieldDefinitionGroupBased\updateComplexOption().
Here is the caller graph for this function:| ilADTFactory::getInstanceByDefinition | ( | ilADTDefinition | $a_def | ) |
Get instance of ADT.
| ilADTDefinition | $a_def |
| Exception |
Definition at line 79 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.
| ilADT | $a_adt |
| InvalidArgumentException |
Definition at line 119 of file class.ilADTFactory.php.
References ilADT\getType(), and initTypeClass().
Here is the call graph for this function:| ilADTFactory::getSearchBridgeForDefinitionInstance | ( | ilADTDefinition | $a_adt_def, |
| bool | $a_range = true, |
||
| bool | $a_multi = true |
||
| ) |
Get search bridge instance for ADT definition.
| ilADTDefinition | $a_adt_def | |
| bool | $a_range | |
| bool | $a_multi |
| InvalidArgumentException |
Definition at line 133 of file class.ilADTFactory.php.
References Vendor\Package\$e, ilADTDefinition\getType(), and initTypeClass().
Here is the call graph for this function:| ilADTFactory::getValidTypes | ( | ) |
Get all ADT types.
Definition at line 26 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 200 of file class.ilADTFactory.php.
Referenced by ilAdvancedMDValues\findByObjectId(), and ilAdvancedMDFieldDefinitionSelect\update().
Here is the caller graph for this function:| ilADTFactory::initTypeClass | ( | string | $a_type, |
| string | $a_class = null |
||
| ) |
Definition at line 51 of file class.ilADTFactory.php.
References isValidType().
Referenced by 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 | ( | string | $a_type | ) |
Definition at line 46 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 12 of file class.ilADTFactory.php.
Referenced by getInstance().
| const ilADTFactory::TYPE_LOCALIZED_TEXT = 'LocalizedText' |
Definition at line 10 of file class.ilADTFactory.php.
Referenced by ilAdvancedMDFieldDefinitionText\initADTDefinition().