ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
getValidTypes () | |
Get all ADT types. More... | |
isValidType ($a_type) | |
Check if given type is valid. More... | |
initTypeClass ($a_type, $a_class=null) | |
Init type-specific class. More... | |
getDefinitionInstanceByType ($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, $a_range=true, $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 () |
Get singleton. More... | |
static | getActiveRecordInstance (ilADTGroupDBBridge $a_properties) |
Get active record instance. More... | |
static | initActiveRecordByType () |
Init active record by type. More... | |
static | getActiveRecordByTypeInstance (ilADTGroupDBBridge $a_properties) |
Get active record by type instance. More... | |
Protected Member Functions | |
__construct () | |
Constructor. More... | |
Static Protected Attributes | |
static | $instance |
Definition at line 6 of file class.ilADTFactory.php.
|
protected |
ilADTFactory::getActiveRecordBridgeForInstance | ( | ilADT | $a_adt | ) |
Get active record instance for ADT.
ilADT | $a_adt |
Definition at line 196 of file class.ilADTFactory.php.
References ilADT\getType(), and initTypeClass().
|
static |
Get active record by type instance.
ilADTGroupDBBridge | $a_properties |
Definition at line 233 of file class.ilADTFactory.php.
|
static |
Get active record instance.
ilADTGroupDBBridge | $a_properties |
Definition at line 213 of file class.ilADTFactory.php.
ilADTFactory::getDBBridgeForInstance | ( | ilADT | $a_adt | ) |
Get DB bridge instance for ADT.
Exception |
ilADT | $a_adt |
Definition at line 134 of file class.ilADTFactory.php.
References ilADT\getType(), and initTypeClass().
ilADTFactory::getDefinitionInstanceByType | ( | $a_type | ) |
Get instance of ADT definition.
Exception |
string | $a_type |
Definition at line 86 of file class.ilADTFactory.php.
References $a_type, and initTypeClass().
ilADTFactory::getFormBridgeForInstance | ( | ilADT | $a_adt | ) |
Get form bridge instance for ADT.
Exception |
ilADT | $a_adt |
Definition at line 121 of file class.ilADTFactory.php.
References ilADT\getType(), and initTypeClass().
|
static |
Get singleton.
Definition at line 24 of file class.ilADTFactory.php.
Referenced by ilAdvancedMDValues\_cloneValues(), ilGlossaryTerm\_copyTerm(), ilAdvancedMDValues\_deleteByFieldId(), ilAdvancedMDValues\_deleteByObjId(), ilADTGroup\addElement(), ilADTEnumSearchBridgeMulti\convertADTDefinitionToMulti(), ilObjectMetaDataBlockGUI\fillDataSection(), ilPCAMDPageList\findPages(), ilAdvancedMDValues\getActiveRecord(), ilAdvancedMDFieldDefinition\getADT(), ilAdvancedMDFieldDefinition\getADTGroupForDefinitions(), ilLuceneAdvancedSearchFields\getFormElement(), ilObjectMetaDataGUI\getKeyValueList(), ilAdvancedMDFieldDefinitionSelectMulti\importCustomDefinitionFormPostValues(), ilADTBasedObject\initActiveRecordInstance(), ilAdvancedMDFieldDefinitionInternalLink\initADTDefinition(), ilAdvancedMDFieldDefinitionExternalLink\initADTDefinition(), ilAdvancedMDFieldDefinitionDate\initADTDefinition(), ilAdvancedMDFieldDefinitionDateTime\initADTDefinition(), ilAdvancedMDFieldDefinitionSelectMulti\initADTDefinition(), ilAdvancedMDFieldDefinitionText\initADTDefinition(), ilAdvancedMDFieldDefinitionLocation\initADTDefinition(), ilAdvancedMDFieldDefinitionSelect\initADTDefinition(), ilAdvancedMDFieldDefinitionInteger\initADTDefinition(), ilAdvancedMDFieldDefinitionFloat\initADTDefinition(), ilADTBasedObjectGUI\initForm(), ilADTTest\initProperties(), ilAdvancedMDRecordGUI\parseAppointmentPresentation(), ilAdvancedMDRecordGUI\parseEditor(), ilAdvancedMDRecordGUI\parseFilter(), ilAdvancedMDRecordGUI\parseInfoPage(), ilAdvancedMDRecordGUI\parseSearch(), ilAdvancedMDSubstitution\parseValue(), ilAdvancedMDValues\preloadByObjIds(), ilADTGroupPresentationBridge\prepareElements(), ilADTGroupFormBridge\prepareElements(), ilADTGroupActiveRecordBridge\prepareElements(), ilADTGroupDBBridge\prepareElements(), ilAdvancedMDValues\queryForRecords(), ilAdvancedSearchGUI\searchAdvancedMD(), ilADTSearchBridgeMulti\setDefinition(), ilADTSearchBridgeSingle\setDefinition(), ilADTSearchBridgeRange\setDefinition(), and ilAdvancedMDFieldDefinitionSelectMulti\update().
ilADTFactory::getInstanceByDefinition | ( | ilADTDefinition | $a_def | ) |
Get instance of ADT.
Exception |
ilADTDefinition | $a_def |
Definition at line 99 of file class.ilADTFactory.php.
References ilADTDefinition\getType(), and initTypeClass().
ilADTFactory::getPresentationBridgeForInstance | ( | ilADT | $a_adt | ) |
Get presentation bridge instance for ADT.
Exception |
ilADT | $a_adt |
Definition at line 147 of file class.ilADTFactory.php.
References ilADT\getType(), and initTypeClass().
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 161 of file class.ilADTFactory.php.
References ilADTDefinition\getType(), and initTypeClass().
ilADTFactory::getValidTypes | ( | ) |
Get all ADT types.
Definition at line 37 of file class.ilADTFactory.php.
References array.
Referenced by isValidType().
|
static |
Init active record by type.
Definition at line 222 of file class.ilADTFactory.php.
Referenced by ilAdvancedMDValues\findByObjectId(), ilAdvancedMDFieldDefinitionSelectMulti\importCustomDefinitionFormPostValues(), ilAdvancedMDFieldDefinitionSelect\importCustomDefinitionFormPostValues(), ilAdvancedMDFieldDefinitionSelectMulti\update(), and ilAdvancedMDFieldDefinitionSelect\update().
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 $a_type, $file, and isValidType().
Referenced by getActiveRecordBridgeForInstance(), getDBBridgeForInstance(), getDefinitionInstanceByType(), getFormBridgeForInstance(), getInstanceByDefinition(), getPresentationBridgeForInstance(), and getSearchBridgeForDefinitionInstance().
ilADTFactory::isValidType | ( | $a_type | ) |
Check if given type is valid.
string | $a_type |
Definition at line 52 of file class.ilADTFactory.php.
References $a_type, and getValidTypes().
Referenced by initTypeClass().
|
staticprotected |
Definition at line 8 of file class.ilADTFactory.php.