ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilDclCache. More...
Static Public Member Functions | |
static | setCloneOf ($old, $new, $type) |
static | getCloneOf ($id, $type) |
static | getTableCache ($table_id=0) |
static | getFieldCache ($field_id=0) |
static | getRecordCache ($record_id=0) |
static | getRecordFieldCache ($record, $field) |
static | getFieldRepresentation (ilDclBaseFieldModel $field) |
static | getRecordRepresentation (ilDclBaseRecordFieldModel $record_field) |
Returns a record representation. More... | |
static | getFieldProperties ($field_id) |
Cache Field properties. More... | |
static | preloadFieldProperties (array $fields) |
Preloads field properties. More... | |
static | getDatatype ($datatyp_id) |
Get cached datatypes. More... | |
static | buildFieldFromRecord ($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 | $tables_cache |
static | $fields_cache |
static | $records_cache |
static | $record_field_cache |
static | $field_representation_cache |
static | $record_representation_cache |
static | $field_properties_cache |
static | $datatype_cache |
static | $clone_mapping |
Class ilDclCache.
Definition at line 9 of file class.ilDclCache.php.
|
static |
$rec |
Definition at line 308 of file class.ilDclCache.php.
References $fields_cache, and ilDclFieldFactory\getFieldModelInstanceByClass().
Referenced by ilDclTable\getFieldIds().
|
static |
Definition at line 87 of file class.ilDclCache.php.
References $id, $key, and $type.
Referenced by ilDclFileuploadRecordFieldModel\afterClone(), ilDclReferenceRecordFieldModel\afterClone(), ilDclMobRecordFieldModel\afterClone(), and ilDclReferenceFieldModel\getFieldRef().
|
static |
Get cached datatypes.
$datatyp_id |
ilDclException |
Definition at line 289 of file class.ilDclCache.php.
References ilDclDatatype\getAllDatatype().
Referenced by ilDclBaseFieldModel\loadDatatype().
|
static |
int | $field_id |
Definition at line 145 of file class.ilDclCache.php.
References $fields_cache, and ilDclFieldFactory\getFieldModelInstance().
Referenced by ilDclFieldEditGUI\__construct(), ilDclReferenceFieldRepresentation\addFilterInputFieldToTable(), ilDclBaseFieldModel\cloneStructure(), ilDclTable\deleteField(), ilDclFieldListGUI\deleteFields(), ilDataCollectionDataSet\getDependencies(), ilDclTableViewFieldSetting\getFieldObject(), ilDclReferenceFieldModel\getFieldRef(), ilDclReferenceFieldRepresentation\getInputField(), ilDclReferenceFieldModel\getRecordQuerySortObject(), ilDclReferenceRecordFieldModel\getReferenceFromValue(), ilDataCollectionDataSet\getXmlNamespace(), and ilDclNReferenceRecordFieldModel\loadValueSorted().
|
static |
Cache Field properties.
$field_id |
Definition at line 238 of file class.ilDclCache.php.
References $result, and ActiveRecord\where().
Referenced by ilDclBaseFieldModel\loadProperties().
|
static |
ilDclBaseFieldModel | $field |
ilDclException |
Definition at line 199 of file class.ilDclCache.php.
References ilDclFieldFactory\getFieldRepresentationInstance(), and ilDclBaseFieldModel\getId().
Referenced by ilDclRecordListTableGUI\initFilter(), ilDclRecordListTableGUI\initFilterFromTableView(), ilDclRecordEditGUI\initForm(), and ilDclBaseRecordModel\passThroughFilter().
|
static |
int | $record_id |
Definition at line 161 of file class.ilDclCache.php.
References $records_cache, and ilDclFieldFactory\getRecordModelInstance().
Referenced by ilDclDetailedViewGUI\__construct(), ilDclTable\_hasFieldByTitle(), ilDclNReferenceFieldGUI\buildTemplate(), ilDclBaseRecordModel\cloneStructure(), ilDclRecordEditGUI\confirmDelete(), ilDclRecordEditGUI\delete(), ilDclDetailedViewGUI\doExtReplace(), ilObjDataCollection\doUpdate(), ilDclReferenceRecordFieldModel\getExportValue(), ilDclNReferenceRecordFieldModel\getExportValue(), ilDclReferenceRecordRepresentation\getHTML(), ilDclNReferenceFieldGUI\getHTML(), ilDclReferenceRecordRepresentation\getLinkHTML(), ilDclRecordEditGUI\getRecord(), ilDclRecordEditGUI\getRecordData(), ilDataCollectionDataSet\getXmlNamespace(), ilDclTable\loadRecords(), ilDclFileuploadFieldRepresentation\requiredWorkaroundForInputField(), ilDclRecordEditGUI\save(), ilDclRecordListGUI\sendFile(), and ilDclRecordEditGUI\setFormValues().
|
static |
$field | ilDclBaseFieldModel |
$record | ilDclBaseRecordModel |
Definition at line 178 of file class.ilDclCache.php.
References ilDclFieldFactory\getRecordFieldInstance().
Referenced by ilDclFileuploadRecordFieldModel\afterClone(), ilDclReferenceRecordFieldModel\afterClone(), ilDclMobRecordFieldModel\afterClone(), ilDclBaseFieldModel\afterClone(), ilDclFormulaRecordQueryObject\applyCustomSorting(), ilDclTextRecordQueryObject\applyCustomSorting(), ilDclBaseRecordModel\cloneStructure(), ilDclRecordEditGUI\confirmDelete(), ilDclRecordListTableGUI\getStatus(), ilDclBaseRecordModel\loadRecordFields(), and ilDclRecordListGUI\sendFile().
|
static |
Returns a record representation.
ilDclBaseRecordFieldModel | $record_field |
ilDclException |
Definition at line 217 of file class.ilDclCache.php.
References ilDclBaseRecordFieldModel\getId(), and ilDclFieldFactory\getRecordRepresentationInstance().
Referenced by ilDclRecordEditGUI\confirmDelete(), and ilDclRecordListGUI\sendFile().
|
static |
int | $table_id |
Definition at line 126 of file class.ilDclCache.php.
References $tables_cache.
Referenced by ilDclIliasReferenceRecordFieldModel\__construct(), ilDclRatingRecordFieldModel\__construct(), ilDclFieldListTableGUI\__construct(), ilDclReferenceRecordFieldModel\__construct(), ilDclTableViewGUI\__construct(), ilDclFieldListGUI\__construct(), ilDclFieldEditGUI\__construct(), ilDclTableEditGUI\__construct(), ilDclRecordListGUI\__construct(), ilDclReferenceFieldRepresentation\addFilterInputFieldToTable(), ilDclStandardField\allowFilterInListView(), ilDclFormulaFieldRepresentation\buildFieldCreationInput(), ilDclDatetimeFieldModel\checkValidity(), ilDclTextFieldModel\checkValidity(), ilDclFileuploadFieldModel\checkValidity(), ilDclBaseFieldModel\checkValidity(), ilDclTextFieldModel\checkValidityOfURLField(), ilDclTableListGUI\confirmDeleteTables(), ilDclTableView\createDefaultSettings(), ilDclFieldListGUI\deleteFields(), ilDclTableListGUI\deleteTables(), ilObjDataCollection\doCreate(), ilDclBaseRecordModel\doDelete(), ilObjDataCollection\doUpdate(), ilDclTableEditGUI\edit(), ilObjDataCollectionGUI\emptyInfo(), ilDclDetailedViewDefinition\getAvailablePlaceholders(), ilDclReferenceFieldRepresentation\getInputField(), ilDclRecordEditGUI\getRecord(), ilDclReferenceRecordFieldModel\getReferenceFromValue(), ilDclTableView\getTable(), ilObjDataCollection\getTableById(), ilObjDataCollection\getTables(), ilDataCollectionDataSet\getXmlNamespace(), ilObjDataCollectionAccess\hasAccessToField(), ilObjDataCollectionAccess\hasAccessToFields(), ilObjDataCollectionAccess\hasAccessToTable(), ilObjDataCollectionAccess\hasPermissionToAddRecord(), ilDclBaseRecordModel\loadTable(), ilDclSelectionFieldModel\multiPropertyChanged(), ilDclDetailedViewGUI\renderRecord(), ilDclSelectionFieldModel\reorderExistingValues(), ilObjDataCollection\reorderTables(), ilDclFieldListGUI\save(), ilDclTableListGUI\save(), ilDclTableEditGUI\save(), and ilDclExpressionParser\substituteFieldValues().
|
staticprotected |
Definition at line 75 of file class.ilDclCache.php.
|
static |
Preloads field properties.
ilDclBaseFieldModel[] | $fields |
Definition at line 257 of file class.ilDclCache.php.
References $result, and ActiveRecord\where().
Referenced by ilDclTable\getFieldIds().
|
static |
Resets all the cache fields.
Definition at line 332 of file class.ilDclCache.php.
Referenced by ilDclContentExporter\export().
|
static |
Definition at line 66 of file class.ilDclCache.php.
References $type.
Referenced by ilObjDataCollection\cloneStructure(), ilDclTableView\cloneStructure(), ilDclBaseFieldModel\cloneStructure(), ilDclBaseRecordModel\cloneStructure(), and ilDclTable\cloneStructure().
|
staticprotected |
Definition at line 63 of file class.ilDclCache.php.
|
staticprotected |
Definition at line 49 of file class.ilDclCache.php.
|
staticprotected |
Definition at line 45 of file class.ilDclCache.php.
|
staticprotected |
Definition at line 37 of file class.ilDclCache.php.
|
staticprotected |
Definition at line 23 of file class.ilDclCache.php.
Referenced by buildFieldFromRecord(), and getFieldCache().
|
staticprotected |
Definition at line 33 of file class.ilDclCache.php.
|
staticprotected |
Definition at line 41 of file class.ilDclCache.php.
|
staticprotected |
Definition at line 27 of file class.ilDclCache.php.
Referenced by getRecordCache().
|
staticprotected |
Definition at line 19 of file class.ilDclCache.php.
Referenced by getTableCache().
const ilDclCache::TYPE_DATACOLLECTION = 'dcl' |
Definition at line 11 of file class.ilDclCache.php.
Referenced by ilObjDataCollection\cloneStructure().
const ilDclCache::TYPE_FIELD = 'field' |
Definition at line 13 of file class.ilDclCache.php.
Referenced by ilDclFileuploadRecordFieldModel\afterClone(), ilDclReferenceRecordFieldModel\afterClone(), ilDclMobRecordFieldModel\afterClone(), ilDclBaseFieldModel\cloneStructure(), and ilDclReferenceFieldModel\getFieldRef().
const ilDclCache::TYPE_RECORD = 'record' |
Definition at line 14 of file class.ilDclCache.php.
Referenced by ilDclFileuploadRecordFieldModel\afterClone(), ilDclReferenceRecordFieldModel\afterClone(), ilDclMobRecordFieldModel\afterClone(), and ilDclBaseRecordModel\cloneStructure().
const ilDclCache::TYPE_TABLE = 'table' |
Definition at line 12 of file class.ilDclCache.php.
Referenced by ilDclTable\cloneStructure().
const ilDclCache::TYPE_TABLEVIEW = 'tableview' |
Definition at line 15 of file class.ilDclCache.php.
Referenced by ilDclTableView\cloneStructure().