|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Collaboration diagram for ilDclFieldFactory:Static Public Member Functions | |
| static | getRecordFieldInstance (object $field, object $record) |
| Creates a RecordField instance and loads the field and record representation. More... | |
| static | getFieldClass (string $datatype, string $class_pattern) |
| Concatenates Classname from datatype and pattern. More... | |
| static | getFieldClassFile (string $datatype, string $class_pattern) |
| static | getFieldRepresentationInstance (ilDclBaseFieldModel $field) |
| static | getRecordRepresentationInstance (ilDclBaseRecordFieldModel $record_field) |
| Get RecordRepresentation from RecordFieldModel. More... | |
| static | getFieldModelInstance (int $field_id, ?int $datatype=null) |
| Get FieldModel from field-id and datatype. More... | |
| static | getFieldModelInstanceByClass (ilDclBaseFieldModel $field, ?int $field_id=null) |
| Gets the correct instance of a fieldModel class Checks if a field is a plugin a replaces the fieldModel with the necessary class. More... | |
| static | getFieldTypeByInstance (ilDclBaseFieldModel $field) |
| static | getClassByInstance (ilDclBaseFieldModel $field, string $class_pattern) |
| static | getClassPathByInstance (ilDclBaseFieldModel $field, string $class_pattern) |
| static | parseDatatypeTitle (string $title) |
| Parse string to FieldClass format Replaces _ with camelcase-notation. More... | |
| static | getRecordModelInstance (?int $record_id) |
| static | getPluginNameFromFieldModel (ilDclBaseFieldModel $object) |
Static Public Attributes | |
| static string | $field_base_path_patter = ILIAS_ABSOLUTE_PATH . "/components/ILIAS/DataCollection/classes/Fields/%s/" |
| static string | $default_prefix = "ilDcl" |
| static string | $record_field_class_patter = "%sRecordFieldModel" |
| static string | $field_class_patter = "%sFieldModel" |
| static string | $record_representation_class_pattern = "%sRecordRepresentation" |
| static string | $field_representation_class_pattern = "%sFieldRepresentation" |
Static Protected Attributes | |
| static array | $record_field_cache = [] |
| static array | $field_class_cache = [] |
| static array | $field_representation_cache = [] |
| static array | $record_representation_cache = [] |
| static array | $field_model_cache = [] |
| static array | $field_type_cache = [] |
| static array | $class_path_cache = [] |
Definition at line 21 of file class.ilDclFieldFactory.php.
|
static |
Definition at line 243 of file class.ilDclFieldFactory.php.
Referenced by getFieldRepresentationInstance(), and getRecordFieldInstance().
Here is the caller graph for this function:
|
static |
| ilDclException |
Definition at line 255 of file class.ilDclFieldFactory.php.
References $DIC, ilDclBaseFieldModel\getDatatype(), ilDclBaseFieldModel\getDatatypeId(), ilDclBaseFieldModel\getId(), ilDclFieldTypePlugin\getPluginId(), ilDclDatatype\INPUTFORMAT_FILEUPLOAD, and ilDclFieldTypePlugin\isPluginDatatype().
Referenced by getFieldRepresentationInstance(), and getRecordFieldInstance().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Concatenates Classname from datatype and pattern.
Definition at line 72 of file class.ilDclFieldFactory.php.
Referenced by getFieldClassFile().
Here is the caller graph for this function:
|
static |
Definition at line 86 of file class.ilDclFieldFactory.php.
References getFieldClass().
Here is the call graph for this function:
|
static |
Get FieldModel from field-id and datatype.
| ilDclException |
Definition at line 162 of file class.ilDclFieldFactory.php.
Referenced by ilDclFieldEditGUI\__construct(), and ilDclCache\getFieldCache().
Here is the caller graph for this function:
|
static |
Gets the correct instance of a fieldModel class Checks if a field is a plugin a replaces the fieldModel with the necessary class.
| ilDclException |
Definition at line 179 of file class.ilDclFieldFactory.php.
References ilDclBaseFieldModel\getId().
Referenced by ilDclCache\buildFieldFromRecord(), and ilDclFieldEditGUI\initForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 93 of file class.ilDclFieldFactory.php.
References getClassByInstance(), getClassPathByInstance(), and ilDclBaseFieldModel\getId().
Referenced by ilDclCache\getFieldRepresentation(), ilDclTableViewEditFieldsTableGUI\getStandardFilterHTML(), ilDclFieldEditGUI\initForm(), and ilDclBaseFieldModel\storePropertiesFromForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 215 of file class.ilDclFieldFactory.php.
References $DIC, ilDclBaseFieldModel\getDatatype(), ilDclBaseFieldModel\getDatatypeId(), ilDclFieldTypePlugin\getPluginId(), ilDclDatatype\INPUTFORMAT_FILEUPLOAD, and ilDclFieldTypePlugin\isPluginDatatype().
Here is the call graph for this function:
|
static |
Definition at line 330 of file class.ilDclFieldFactory.php.
|
static |
Creates a RecordField instance and loads the field and record representation.
| object | ilDclBaseFieldModel | $field | |
| object | ilDclBaseRecordModel | $record |
| ilDclException | |
| Exception |
Definition at line 38 of file class.ilDclFieldFactory.php.
References $path, getClassByInstance(), and getClassPathByInstance().
Referenced by ilDclCache\getRecordFieldCache().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 325 of file class.ilDclFieldFactory.php.
Referenced by ilDclCache\getRecordCache().
Here is the caller graph for this function:
|
static |
Get RecordRepresentation from RecordFieldModel.
| ilDclException |
Definition at line 126 of file class.ilDclFieldFactory.php.
References ilDclBaseRecordFieldModel\getId().
Referenced by ilDclCache\getRecordRepresentation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Parse string to FieldClass format Replaces _ with camelcase-notation.
Definition at line 314 of file class.ilDclFieldFactory.php.
References $parts.
|
staticprotected |
Definition at line 250 of file class.ilDclFieldFactory.php.
|
static |
Definition at line 24 of file class.ilDclFieldFactory.php.
|
static |
Definition at line 23 of file class.ilDclFieldFactory.php.
|
staticprotected |
Definition at line 67 of file class.ilDclFieldFactory.php.
|
static |
Definition at line 26 of file class.ilDclFieldFactory.php.
|
staticprotected |
Definition at line 172 of file class.ilDclFieldFactory.php.
|
staticprotected |
Definition at line 91 of file class.ilDclFieldFactory.php.
|
static |
Definition at line 28 of file class.ilDclFieldFactory.php.
|
staticprotected |
Definition at line 213 of file class.ilDclFieldFactory.php.
|
staticprotected |
Definition at line 29 of file class.ilDclFieldFactory.php.
|
static |
Definition at line 25 of file class.ilDclFieldFactory.php.
|
staticprotected |
Definition at line 120 of file class.ilDclFieldFactory.php.
|
static |
Definition at line 27 of file class.ilDclFieldFactory.php.