ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
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 ($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 = [] |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 19 of file class.ilDclCache.php.
|
static |
Definition at line 270 of file class.ilDclCache.php.
References ilDclFieldFactory\getFieldModelInstanceByClass().
Referenced by ilDclTable\loadCustomFields().
|
static |
Definition at line 92 of file class.ilDclCache.php.
References $id, ILIAS\LTI\ToolProvider\$key, and $type.
Referenced by ilDclReferenceRecordFieldModel\afterClone(), ilDclFileuploadRecordFieldModel\afterClone(), ilDclMobRecordFieldModel\afterClone(), ilDclReferenceRecordFieldModel\getCloneRecordId(), and ilDclReferenceFieldModel\getFieldRef().
|
static |
Get cached datatypes.
ilDclException |
Definition at line 257 of file class.ilDclCache.php.
References ilDclDatatype\getAllDatatype().
Referenced by ilDclDefaultValueFactory\create(), ilDclTableViewBaseDefaultValue\findAll(), and ilDclBaseFieldModel\loadDatatype().
|
static |
Definition at line 142 of file class.ilDclCache.php.
References ilDclFieldFactory\getFieldModelInstance().
Referenced by ilDclFieldEditGUI\__construct(), ilDclReferenceFieldRepresentation\addFilterInputFieldToTable(), ilDclBaseFieldModel\cloneStructure(), ilDclTable\deleteField(), ilDclFieldListGUI\deleteFields(), ilDataCollectionDataSet\getDependencies(), ilDclTableViewFieldSetting\getFieldObject(), ilDclReferenceFieldModel\getFieldRef(), ilDclReferenceFieldRepresentation\getInputField(), ilDclCopyFieldRepresentation\getInputField(), ilDclReferenceFieldModel\getRecordQuerySortObject(), ilDclReferenceRecordFieldModel\getReferenceFromValue(), and ilDataCollectionDataSet\getXmlNamespace().
|
static |
Cache Field properties.
int | string | $field_id |
Definition at line 213 of file class.ilDclCache.php.
References ActiveRecord\where().
Referenced by ilDclBaseFieldModel\loadProperties().
|
static |
ilDclException |
Definition at line 181 of file class.ilDclCache.php.
References ilDclFieldFactory\getFieldRepresentationInstance(), and ilDclBaseFieldModel\getId().
Referenced by ilDclCreateViewTableGUI\getHTML(), ilDclRecordListTableGUI\initFilter(), ilDclRecordListTableGUI\initFilterFromTableView(), and ilDclRecordEditGUI\initForm().
|
static |
Definition at line 152 of file class.ilDclCache.php.
References ilDclFieldFactory\getRecordModelInstance().
Referenced by ilDclDetailedViewGUI\__construct(), ilDclBaseRecordModel\cloneStructure(), ilDclRecordEditGUI\confirmDelete(), ilDclRecordEditGUI\delete(), ilDclDetailedViewGUI\doExtReplace(), ilObjDataCollection\doUpdate(), ilDclReferenceRecordFieldModel\getExportValue(), ilDclReferenceRecordRepresentation\getHTML(), ilDclCopyFieldRepresentation\getInputField(), ilDclTable\getPartialRecords(), ilDclRecordEditGUI\getRecord(), ilDclRecordEditGUI\getRecordData(), ilDataCollectionDataSet\getXmlNamespace(), ilDclTable\loadRecords(), ilDclFileuploadFieldRepresentation\requiredWorkaroundForInputField(), ilDclRecordEditGUI\save(), ilDclRecordEditGUI\sendFailure(), ilDclRecordListGUI\sendFile(), and ilDclRecordEditGUI\setFormValues().
|
static |
Definition at line 162 of file class.ilDclCache.php.
References ilDclBaseRecordFieldModel\getId(), and ilDclFieldFactory\getRecordFieldInstance().
Referenced by ilDclReferenceRecordFieldModel\afterClone(), ilDclFileuploadRecordFieldModel\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.
ilDclException |
Definition at line 194 of file class.ilDclCache.php.
References ilDclBaseRecordFieldModel\getId(), and ilDclFieldFactory\getRecordRepresentationInstance().
Referenced by ilDclRecordEditGUI\confirmDelete(), and ilDclRecordListGUI\sendFile().
|
static |
Definition at line 129 of file class.ilDclCache.php.
Referenced by ilDclIliasReferenceRecordFieldModel\__construct(), ilDclRatingRecordFieldModel\__construct(), ilDclReferenceRecordFieldModel\__construct(), ilDclFieldListTableGUI\__construct(), ilDclFieldListGUI\__construct(), ilDclTableEditGUI\__construct(), ilDclFieldEditGUI\__construct(), ilDclTableViewGUI\__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(), ilDclCreateViewDefinition\getAvailablePlaceholders(), ilDclEditViewDefinition\getAvailablePlaceholders(), ilDclReferenceFieldRepresentation\getInputField(), ilDclCopyFieldRepresentation\getInputField(), ilDclRecordEditGUI\getRecord(), ilDclReferenceRecordFieldModel\getReferenceFromValue(), ilDclTableView\getTable(), ilObjDataCollection\getTableById(), ilObjDataCollection\getTables(), ilObjDataCollectionGUI\getTableViewId(), 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 81 of file class.ilDclCache.php.
|
static |
Preloads field properties.
ilDclBaseFieldModel[] | $fields |
Definition at line 230 of file class.ilDclCache.php.
References ActiveRecord\where().
Referenced by ilDclTable\loadCustomFields().
|
static |
Resets all the cache fields.
Definition at line 295 of file class.ilDclCache.php.
Referenced by ilDclContentExporter\export().
|
static |
Definition at line 73 of file class.ilDclCache.php.
References $type.
Referenced by ilObjDataCollection\cloneStructure(), ilDclTableView\cloneStructure(), ilDclBaseFieldModel\cloneStructure(), ilDclBaseRecordModel\cloneStructure(), and ilDclTable\cloneStructure().
|
staticprotected |
Definition at line 71 of file class.ilDclCache.php.
|
staticprotected |
Definition at line 58 of file class.ilDclCache.php.
|
staticprotected |
Definition at line 54 of file class.ilDclCache.php.
|
staticprotected |
Definition at line 46 of file class.ilDclCache.php.
|
staticprotected |
Definition at line 33 of file class.ilDclCache.php.
|
staticprotected |
Definition at line 42 of file class.ilDclCache.php.
|
staticprotected |
Definition at line 50 of file class.ilDclCache.php.
|
staticprotected |
Definition at line 37 of file class.ilDclCache.php.
|
staticprotected |
Definition at line 29 of file class.ilDclCache.php.
const ilDclCache::TYPE_DATACOLLECTION = 'dcl' |
Definition at line 21 of file class.ilDclCache.php.
Referenced by ilObjDataCollection\cloneStructure().
const ilDclCache::TYPE_FIELD = 'field' |
Definition at line 23 of file class.ilDclCache.php.
Referenced by ilDclReferenceRecordFieldModel\afterClone(), ilDclFileuploadRecordFieldModel\afterClone(), ilDclMobRecordFieldModel\afterClone(), ilDclBaseFieldModel\cloneStructure(), and ilDclReferenceFieldModel\getFieldRef().
const ilDclCache::TYPE_RECORD = 'record' |
const ilDclCache::TYPE_TABLE = 'table' |
Definition at line 22 of file class.ilDclCache.php.
Referenced by ilDclTable\cloneStructure().
const ilDclCache::TYPE_TABLEVIEW = 'tableview' |
Definition at line 25 of file class.ilDclCache.php.
Referenced by ilDclTableView\cloneStructure().