|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilDclCache: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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 92 of file class.ilDclCache.php.
References $id, ILIAS\LTI\ToolProvider\$key, $type, getFieldCache(), getRecordCache(), getTableCache(), TYPE_DATACOLLECTION, TYPE_FIELD, TYPE_RECORD, and TYPE_TABLE.
Referenced by ilDclFileuploadRecordFieldModel\afterClone(), ilDclMobRecordFieldModel\afterClone(), ilDclReferenceRecordFieldModel\afterClone(), and ilDclReferenceRecordFieldModel\getCloneRecordId().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 142 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Cache Field properties.
| int | string | $field_id |
Definition at line 213 of file class.ilDclCache.php.
References ActiveRecord\where().
Referenced by ilDclBaseFieldModel\loadProperties().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| ilDclException |
Definition at line 181 of file class.ilDclCache.php.
References ilDclFieldFactory\getFieldRepresentationInstance(), and ilDclBaseFieldModel\getId().
Referenced by ilDclRecordListTableGUI\initFilter(), ilDclRecordListTableGUI\initFilterFromTableView(), and ilDclRecordEditGUI\initForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 152 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(), ilDclFileuploadFieldRepresentation\requiredWorkaroundForInputField(), ilDclRecordEditGUI\save(), ilDclRecordEditGUI\sendFailure(), ilDclRecordListGUI\sendFile(), and ilDclRecordEditGUI\setFormValues().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 162 of file class.ilDclCache.php.
References ilDclFieldFactory\getRecordFieldInstance().
Referenced by ilDclFileuploadRecordFieldModel\afterClone(), ilDclMobRecordFieldModel\afterClone(), ilDclReferenceRecordFieldModel\afterClone(), ilDclBaseFieldModel\afterClone(), ilDclTextRecordQueryObject\applyCustomSorting(), ilDclFormulaRecordQueryObject\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.
| ilDclException |
Definition at line 194 of file class.ilDclCache.php.
Referenced by ilDclRecordEditGUI\confirmDelete().
Here is the caller graph for this function:
|
static |
Definition at line 129 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(), ilDclCreateViewDefinition\getAvailablePlaceholders(), ilDclDetailedViewDefinition\getAvailablePlaceholders(), ilDclEditViewDefinition\getAvailablePlaceholders(), getCloneOf(), ilDclCopyFieldRepresentation\getInputField(), ilDclReferenceFieldRepresentation\getInputField(), ilDclRecordEditGUI\getRecord(), ilDclReferenceRecordFieldModel\getReferenceFromValue(), ilDclTableView\getTable(), ilObjDataCollection\getTableById(), ilObjDataCollection\getTables(), ilObjDataCollectionGUI\getTableViewId(), ilObjDataCollectionAccess\hasAccessToField(), ilObjDataCollectionAccess\hasAccessToFields(), ilObjDataCollectionAccess\hasAccessToTable(), ilObjDataCollectionAccess\hasPermissionToAddRecord(), ilDclBaseRecordModel\loadTable(), ilDclSelectionFieldModel\multiPropertyChanged(), ilDclDetailedViewGUI\renderRecord(), ilDclSelectionFieldModel\reorderExistingValues(), ilObjDataCollection\reorderTables(), ilDclFieldListGUI\save(), ilDclTableListGUI\save(), and ilDclTableEditGUI\save().
Here is the caller graph for this function:
|
staticprotected |
Definition at line 81 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 230 of file class.ilDclCache.php.
References ActiveRecord\where().
Referenced by ilDclTable\loadCustomFields().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Resets all the cache fields.
Definition at line 295 of file class.ilDclCache.php.
Referenced by ilDclContentExporter\export().
Here is the caller graph for this function:
|
static |
Definition at line 73 of file class.ilDclCache.php.
References $type, and initCloneMapping().
Referenced by ilDclTable\cloneStructure(), ilDclTableView\cloneStructure(), ilObjDataCollection\cloneStructure(), ilDclBaseFieldModel\cloneStructure(), and ilDclBaseRecordModel\cloneStructure().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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.
Referenced by getFieldCache().
|
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.
Referenced by getRecordCache().
|
staticprotected |
Definition at line 29 of file class.ilDclCache.php.
Referenced by getTableCache().
| const ilDclCache::TYPE_DATACOLLECTION = 'dcl' |
Definition at line 21 of file class.ilDclCache.php.
Referenced by ilObjDataCollection\cloneStructure(), and getCloneOf().
| const ilDclCache::TYPE_FIELD = 'field' |
Definition at line 23 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 24 of file class.ilDclCache.php.
Referenced by ilDclFileuploadRecordFieldModel\afterClone(), ilDclMobRecordFieldModel\afterClone(), ilDclReferenceRecordFieldModel\afterClone(), ilDclBaseRecordModel\cloneStructure(), getCloneOf(), and ilDclReferenceRecordFieldModel\getCloneRecordId().
| const ilDclCache::TYPE_TABLE = 'table' |
Definition at line 22 of file class.ilDclCache.php.
Referenced by ilDclTable\cloneStructure(), and getCloneOf().
| const ilDclCache::TYPE_TABLEVIEW = 'tableview' |
Definition at line 25 of file class.ilDclCache.php.
Referenced by ilDclTableView\cloneStructure().