|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilDclCache. More...
Collaboration diagram for ilDclCache: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 303 of file class.ilDclCache.php.
References $fields_cache, and ilDclFieldFactory\getFieldModelInstanceByClass().
Here is the call graph for this function:
|
static |
Definition at line 89 of file class.ilDclCache.php.
References $id, $key, $type, getFieldCache(), getRecordCache(), getTableCache(), TYPE_DATACOLLECTION, TYPE_FIELD, TYPE_RECORD, and TYPE_TABLE.
Referenced by ilDclFileuploadRecordFieldModel\afterClone(), ilDclMobRecordFieldModel\afterClone(), and ilDclReferenceRecordFieldModel\afterClone().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get cached datatypes.
| $datatyp_id |
| ilDclException |
Definition at line 285 of file class.ilDclCache.php.
References ilDclDatatype\getAllDatatype().
Referenced by ilDclBaseFieldModel\loadDatatype().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| int | $field_id |
Definition at line 147 of file class.ilDclCache.php.
References $fields_cache, and ilDclFieldFactory\getFieldModelInstance().
Referenced by ilDclFieldEditGUI\__construct(), ilDclReferenceFieldRepresentation\addFilterInputFieldToTable(), ilDclBaseFieldModel\cloneStructure(), ilDclTable\deleteField(), getCloneOf(), ilDataCollectionDataSet\getDependencies(), ilDclTableViewFieldSetting\getFieldObject(), ilDclReferenceFieldModel\getFieldRef(), ilDclReferenceFieldRepresentation\getInputField(), ilDclReferenceFieldModel\getRecordQuerySortObject(), ilDclReferenceRecordFieldModel\getReferenceFromValue(), and ilDclNReferenceRecordFieldModel\loadValueSorted().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Cache Field properties.
| $field_id |
Definition at line 236 of file class.ilDclCache.php.
References $result, and ActiveRecord\where().
Referenced by ilDclBaseFieldModel\loadProperties().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| ilDclBaseFieldModel | $field |
| ilDclException |
Definition at line 201 of file class.ilDclCache.php.
References ilDclFieldFactory\getFieldRepresentationInstance(), and ilDclBaseFieldModel\getId().
Referenced by ilDclRecordListTableGUI\initFilter(), ilDclRecordListTableGUI\initFilterFromTableView(), ilDclRecordEditGUI\initForm(), and ilDclBaseRecordModel\passThroughFilter().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| int | $record_id |
Definition at line 163 of file class.ilDclCache.php.
References $records_cache, and ilDclFieldFactory\getRecordModelInstance().
Referenced by ilDclDetailedViewGUI\__construct(), ilDclNReferenceFieldGUI\buildTemplate(), ilDclBaseRecordModel\cloneStructure(), ilDclRecordEditGUI\confirmDelete(), ilDclRecordEditGUI\delete(), ilDclDetailedViewGUI\doExtReplace(), getCloneOf(), ilDclNReferenceRecordFieldModel\getExportValue(), ilDclReferenceRecordFieldModel\getExportValue(), ilDclReferenceRecordRepresentation\getHTML(), ilDclNReferenceFieldGUI\getHTML(), ilDclReferenceRecordRepresentation\getLinkHTML(), ilDclRecordEditGUI\getRecord(), ilDclRecordEditGUI\getRecordData(), ilDclTable\loadRecords(), ilDclFileuploadFieldRepresentation\requiredWorkaroundForInputField(), ilDclRecordEditGUI\save(), ilDclRecordListGUI\sendFile(), and ilDclRecordEditGUI\setFormValues().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| $field | ilDclBaseFieldModel |
| $record | ilDclBaseRecordModel |
Definition at line 180 of file class.ilDclCache.php.
References ilDclFieldFactory\getRecordFieldInstance().
Referenced by ilDclBaseFieldModel\afterClone(), ilDclFileuploadRecordFieldModel\afterClone(), ilDclMobRecordFieldModel\afterClone(), ilDclReferenceRecordFieldModel\afterClone(), ilDclFormulaRecordQueryObject\applyCustomSorting(), ilDclTextRecordQueryObject\applyCustomSorting(), ilDclBaseRecordModel\cloneStructure(), ilDclRecordEditGUI\confirmDelete(), ilDclRecordListTableGUI\getStatus(), and ilDclBaseRecordModel\loadRecordFields().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| int | $table_id |
Definition at line 128 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(), ilDclRecordListGUI\__construct(), ilDclReferenceFieldRepresentation\addFilterInputFieldToTable(), ilDclStandardField\allowFilterInListView(), ilDclFormulaFieldRepresentation\buildFieldCreationInput(), ilDclBaseFieldModel\checkValidity(), ilDclDatetimeFieldModel\checkValidity(), ilDclFileuploadFieldModel\checkValidity(), ilDclTextFieldModel\checkValidity(), ilDclTextFieldModel\checkValidityOfURLField(), ilDclTableListGUI\confirmDeleteTables(), ilDclTableView\createDefaultSettings(), ilDclFieldListGUI\deleteFields(), ilDclTableListGUI\deleteTables(), ilObjDataCollection\doCreate(), ilDclBaseRecordModel\doDelete(), ilDclTableEditGUI\edit(), ilObjDataCollectionGUI\emptyInfo(), ilDclDetailedViewDefinition\getAvailablePlaceholders(), getCloneOf(), ilDclReferenceFieldRepresentation\getInputField(), ilDclRecordEditGUI\getRecord(), ilDclReferenceRecordFieldModel\getReferenceFromValue(), ilDclTableView\getTable(), ilObjDataCollection\getTableById(), ilObjDataCollection\getTables(), ilObjDataCollectionAccess\hasAccessToField(), ilObjDataCollectionAccess\hasAccessToFields(), ilObjDataCollectionAccess\hasAccessToTable(), ilObjDataCollectionAccess\hasPermissionToAddRecord(), ilDclBaseRecordModel\loadTable(), ilDclSelectionFieldModel\multiPropertyChanged(), ilDclDetailedViewGUI\renderRecord(), ilDclSelectionFieldModel\reorderExistingValues(), ilObjDataCollection\reorderTables(), ilDclTableEditGUI\save(), ilDclFieldListGUI\save(), and ilDclTableListGUI\save().
Here is the caller graph for this function:
|
staticprotected |
Definition at line 78 of file class.ilDclCache.php.
Referenced by setCloneOf().
Here is the caller graph for this function:
|
static |
Preloads field properties.
| ilDclBaseFieldModel[] | $fields |
Definition at line 253 of file class.ilDclCache.php.
References $result, and ActiveRecord\where().
Here is the call graph for this function:
|
static |
Resets all the cache fields.
Definition at line 327 of file class.ilDclCache.php.
Referenced by ilDclContentExporter\export().
Here is the caller graph for this function:
|
static |
Definition at line 70 of file class.ilDclCache.php.
References $new, $old, $type, and initCloneMapping().
Referenced by ilObjDataCollection\cloneStructure(), ilDclBaseFieldModel\cloneStructure(), ilDclBaseRecordModel\cloneStructure(), ilDclTable\cloneStructure(), and ilDclTableView\cloneStructure().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprotected |
Definition at line 68 of file class.ilDclCache.php.
|
staticprotected |
Definition at line 53 of file class.ilDclCache.php.
|
staticprotected |
Definition at line 48 of file class.ilDclCache.php.
|
staticprotected |
Definition at line 39 of file class.ilDclCache.php.
|
staticprotected |
Definition at line 24 of file class.ilDclCache.php.
Referenced by buildFieldFromRecord(), and getFieldCache().
|
staticprotected |
Definition at line 34 of file class.ilDclCache.php.
|
staticprotected |
Definition at line 44 of file class.ilDclCache.php.
|
staticprotected |
Definition at line 28 of file class.ilDclCache.php.
Referenced by getRecordCache().
|
staticprotected |
Definition at line 20 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(), and getCloneOf().
| const ilDclCache::TYPE_FIELD = 'field' |
Definition at line 13 of file class.ilDclCache.php.
Referenced by ilDclFileuploadRecordFieldModel\afterClone(), ilDclMobRecordFieldModel\afterClone(), ilDclReferenceRecordFieldModel\afterClone(), ilDclBaseFieldModel\cloneStructure(), and getCloneOf().
| const ilDclCache::TYPE_RECORD = 'record' |
Definition at line 14 of file class.ilDclCache.php.
Referenced by ilDclFileuploadRecordFieldModel\afterClone(), ilDclMobRecordFieldModel\afterClone(), ilDclReferenceRecordFieldModel\afterClone(), ilDclBaseRecordModel\cloneStructure(), and getCloneOf().
| const ilDclCache::TYPE_TABLE = 'table' |
Definition at line 12 of file class.ilDclCache.php.
Referenced by ilDclTable\cloneStructure(), and getCloneOf().
| const ilDclCache::TYPE_TABLEVIEW = 'tableview' |
Definition at line 15 of file class.ilDclCache.php.
Referenced by ilDclTableView\cloneStructure().