ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Static Public Member Functions | |
static | setCloneOf (int $old, int $new, string $type) |
static | getCloneOf (int $id, string $type) |
static | getTableCache (?int $table_id=null) |
static | getFieldCache (int $field_id=0) |
static | getRecordCache (?int $record_id) |
static | getRecordFieldCache (object $record, object $field) |
static | getFieldRepresentation (ilDclBaseFieldModel $field) |
static | getRecordRepresentation (ilDclBaseRecordFieldModel $record_field) |
Returns a record representation. More... | |
static | getFieldProperties (string $field_id) |
Cache Field properties. More... | |
static | preloadFieldProperties (array $fields) |
Preloads field properties. More... | |
static | getDatatype (int $datatyp_id) |
Get cached datatypes. More... | |
static | buildFieldFromRecord (array $rec) |
static | resetCache () |
Resets all the cache fields. More... | |
Data Fields | |
const | TYPE_DATACOLLECTION = 'dcl' |
const | TYPE_TABLE = 'table' |
const | TYPE_FIELD = 'field' |
const | TYPE_RECORD = 'record' |
const | TYPE_TABLEVIEW = 'tableview' |
Static Protected Member Functions | |
static | initCloneMapping () |
Static Protected Attributes | |
static array | $tables_cache = [] |
static array | $fields_cache = [] |
static array | $records_cache = [] |
static array | $record_field_cache = [] |
static array | $field_representation_cache = [] |
static array | $record_representation_cache = [] |
static array | $field_properties_cache = [] |
static array | $datatype_cache = [] |
static array | $clone_mapping = [] |
Definition at line 21 of file class.ilDclCache.php.
|
static |
Definition at line 272 of file class.ilDclCache.php.
References ilDclFieldFactory\getFieldModelInstanceByClass().
Referenced by ilDclTable\loadCustomFields().
|
static |
Definition at line 94 of file class.ilDclCache.php.
References $id, getFieldCache(), getRecordCache(), getTableCache(), TYPE_DATACOLLECTION, TYPE_FIELD, TYPE_RECORD, and TYPE_TABLE.
Referenced by ilDclFileRecordFieldModel\afterClone(), ilDclMobRecordFieldModel\afterClone(), ilDclReferenceRecordFieldModel\afterClone(), and ilDclReferenceRecordFieldModel\getCloneRecordId().
|
static |
Get cached datatypes.
ilDclException |
Definition at line 255 of file class.ilDclCache.php.
References ilDclDatatype\getAllDatatype(), and ilDclFieldTypePlugin\ID_BUFFER.
Referenced by ilDclDefaultValueFactory\create(), ilDclTableViewBaseDefaultValue\findAll(), and ilDclBaseFieldModel\loadDatatype().
|
static |
Definition at line 144 of file class.ilDclCache.php.
References $fields_cache, and ilDclFieldFactory\getFieldModelInstance().
Referenced by ilDclFieldEditGUI\__construct(), ilDclReferenceFieldRepresentation\addFilterInputFieldToTable(), ilDclBaseFieldModel\cloneStructure(), ilDclTable\deleteField(), getCloneOf(), ilDclTableViewFieldSetting\getFieldObject(), ilDclReferenceFieldModel\getFieldRef(), ilDclCopyFieldRepresentation\getInputField(), ilDclReferenceFieldRepresentation\getInputField(), and ilDclReferenceRecordFieldModel\getReferenceFromValue().
|
static |
Cache Field properties.
Definition at line 211 of file class.ilDclCache.php.
References ActiveRecord\where().
Referenced by ilDclBaseFieldModel\loadProperties().
|
static |
ilDclException |
Definition at line 183 of file class.ilDclCache.php.
References ilDclFieldFactory\getFieldRepresentationInstance(), and ilDclBaseFieldModel\getId().
Referenced by ilDclRecordListTableGUI\initFilter(), and ilDclRecordEditGUI\initForm().
|
static |
Definition at line 154 of file class.ilDclCache.php.
References $records_cache, and ilDclFieldFactory\getRecordModelInstance().
Referenced by ilDclDetailedViewGUI\__construct(), ilDclBaseRecordModel\cloneStructure(), ilDclRecordEditGUI\confirmDelete(), ilDclRecordEditGUI\delete(), ilDclDetailedViewGUI\doExtReplace(), getCloneOf(), ilDclReferenceRecordFieldModel\getExportValue(), ilDclReferenceRecordRepresentation\getHTML(), ilDclCopyFieldRepresentation\getInputField(), ilDclRecordEditGUI\getRecord(), ilDclRecordEditGUI\getRecordData(), ilDclTable\loadRecords(), ilDclFileFieldRepresentation\requiredWorkaroundForInputField(), ilDclRecordEditGUI\save(), ilDclRecordEditGUI\sendFailure(), ilDclRecordListGUI\sendFile(), and ilDclRecordEditGUI\setFormValues().
|
static |
Definition at line 164 of file class.ilDclCache.php.
References ilDclFieldFactory\getRecordFieldInstance().
Referenced by ilDclFileRecordFieldModel\afterClone(), ilDclMobRecordFieldModel\afterClone(), ilDclReferenceRecordFieldModel\afterClone(), ilDclBaseFieldModel\afterClone(), ilDclFormulaRecordQueryObject\applyCustomSorting(), ilDclBaseRecordModel\cloneStructure(), ilDclRecordEditGUI\confirmDelete(), ilDclRecordListTableGUI\getStatus(), and ilDclBaseRecordModel\loadRecordFields().
|
static |
Returns a record representation.
ilDclException |
Definition at line 196 of file class.ilDclCache.php.
References ilDclBaseRecordFieldModel\getId(), and ilDclFieldFactory\getRecordRepresentationInstance().
Referenced by ilDclRecordEditGUI\confirmDelete().
|
static |
Definition at line 131 of file class.ilDclCache.php.
References $tables_cache.
Referenced by ilDclIliasReferenceRecordFieldModel\__construct(), ilDclRatingRecordFieldModel\__construct(), ilDclReferenceRecordFieldModel\__construct(), ilDclFieldListTableGUI\__construct(), ilDclFieldEditGUI\__construct(), ilDclFieldListGUI\__construct(), ilDclTableEditGUI\__construct(), ilDclTableViewGUI\__construct(), ilDclDetailedViewGUI\__construct(), ilDclRecordListGUI\__construct(), ilDclReferenceFieldRepresentation\addFilterInputFieldToTable(), ilDclStandardField\allowFilterInListView(), ilDclFormulaFieldRepresentation\buildFieldCreationInput(), ilDclBaseFieldModel\checkUnique(), ilDclBaseFieldModel\checkUniqueProp(), ilDclTableView\createDefaultSettings(), ilDclFieldListGUI\deleteFields(), ilObjDataCollection\doCreate(), ilDclBaseRecordModel\doDelete(), ilDclDetailedViewDefinition\getAvailablePlaceholders(), getCloneOf(), ILIAS\components\DataCollection\Fields\Formula\FormulaParser\Substitution\FieldSubstitution\getFieldFromPlaceholder(), ilDclCopyFieldRepresentation\getInputField(), ilDclReferenceFieldRepresentation\getInputField(), ilDclRecordEditGUI\getRecord(), ilDclReferenceRecordFieldModel\getReferenceFromValue(), ilDclTableView\getTable(), ilObjDataCollection\getTableById(), ilObjDataCollectionGUI\getTableViewId(), ilObjDataCollectionAccess\hasAccessToField(), ilObjDataCollectionAccess\hasAccessToFields(), ilObjDataCollectionAccess\hasAccessToTable(), ilObjDataCollectionAccess\hasPermissionToAddRecord(), ilDclBaseRecordModel\loadTable(), ilDclFieldListGUI\save(), and ilDclTableListGUI\save().
|
staticprotected |
Definition at line 83 of file class.ilDclCache.php.
Referenced by setCloneOf().
|
static |
Preloads field properties.
ilDclBaseFieldModel[] | $fields |
Definition at line 228 of file class.ilDclCache.php.
References ActiveRecord\where().
Referenced by ilDclTable\loadCustomFields().
|
static |
Resets all the cache fields.
Definition at line 296 of file class.ilDclCache.php.
Referenced by ilDclContentExporter\export().
|
static |
Definition at line 75 of file class.ilDclCache.php.
References initCloneMapping().
Referenced by ilDclTable\cloneStructure(), ilDclTableView\cloneStructure(), ilObjDataCollection\cloneStructure(), ilDclBaseFieldModel\cloneStructure(), and ilDclBaseRecordModel\cloneStructure().
|
staticprotected |
Definition at line 73 of file class.ilDclCache.php.
|
staticprotected |
Definition at line 60 of file class.ilDclCache.php.
|
staticprotected |
Definition at line 56 of file class.ilDclCache.php.
|
staticprotected |
Definition at line 48 of file class.ilDclCache.php.
|
staticprotected |
Definition at line 35 of file class.ilDclCache.php.
Referenced by getFieldCache().
|
staticprotected |
Definition at line 44 of file class.ilDclCache.php.
|
staticprotected |
Definition at line 52 of file class.ilDclCache.php.
|
staticprotected |
Definition at line 39 of file class.ilDclCache.php.
Referenced by getRecordCache().
|
staticprotected |
Definition at line 31 of file class.ilDclCache.php.
Referenced by getTableCache().
const ilDclCache::TYPE_DATACOLLECTION = 'dcl' |
Definition at line 23 of file class.ilDclCache.php.
Referenced by ilObjDataCollection\cloneStructure(), and getCloneOf().
const ilDclCache::TYPE_FIELD = 'field' |
Definition at line 25 of file class.ilDclCache.php.
Referenced by ilDclFileRecordFieldModel\afterClone(), ilDclMobRecordFieldModel\afterClone(), ilDclReferenceRecordFieldModel\afterClone(), ilDclBaseFieldModel\cloneStructure(), and getCloneOf().
const ilDclCache::TYPE_RECORD = 'record' |
const ilDclCache::TYPE_TABLE = 'table' |
Definition at line 24 of file class.ilDclCache.php.
Referenced by ilDclTable\cloneStructure(), and getCloneOf().
const ilDclCache::TYPE_TABLEVIEW = 'tableview' |
Definition at line 27 of file class.ilDclCache.php.
Referenced by ilDclTableView\cloneStructure().