ILIAS
trunk Revision v11.0_alpha-1702-gfd3ecb7f852
|
Public Member Functions | |
__construct (private readonly ilDBInterface $database, private readonly ilObjectDefinition $obj_definition, private readonly ResourceStorageService $storage_services, private readonly ilObjectTileImageStakeholder $storage_stakeholder, private readonly ilObjectTileImageFlavourDefinition $flavour_definition, private readonly ObjectTypeSpecificPropertiesFactory $object_type_specific_properties_factory) | |
preload (array $object_ids) | |
resetPreloadedData () | |
getFor (?int $object_id, ?string $type=null) | |
store (ilObjectCoreProperties $properties) | |
![]() | |
getFor (int $object_id, ?string $type=null) | |
Protected Member Functions | |
retrieveDataForObjectId (int $object_id) | |
retrieveDataForObjectIds (array $object_ids) | |
retrieveDataForWhereClause (string $where) | |
storeLongDescription (string $long_description, array $where) | |
Private Member Functions | |
deleteOldTileImage (ilObjectTileImage $tile_image) | |
getDefaultCoreProperties (?string $type) | |
Private Attributes | |
const | CORE_PROPERTIES_TABLE = 'object_data' |
const | DESCRIPTION_TABLE = 'object_description' |
array | $data_cache = [] |
Definition at line 33 of file ilObjectCorePropertiesCachedRepository.php.
ilObjectCorePropertiesCachedRepository::__construct | ( | private readonly ilDBInterface | $database, |
private readonly ilObjectDefinition | $obj_definition, | ||
private readonly ResourceStorageService | $storage_services, | ||
private readonly ilObjectTileImageStakeholder | $storage_stakeholder, | ||
private readonly ilObjectTileImageFlavourDefinition | $flavour_definition, | ||
private readonly ObjectTypeSpecificPropertiesFactory | $object_type_specific_properties_factory | ||
) |
Definition at line 40 of file ilObjectCorePropertiesCachedRepository.php.
|
private |
Definition at line 154 of file ilObjectCorePropertiesCachedRepository.php.
References ILIAS\Object\Properties\CoreProperties\TileImage\ilObjectTileImage\getRid(), and null.
Referenced by store().
|
private |
Definition at line 171 of file ilObjectCorePropertiesCachedRepository.php.
References ilObjectCoreProperties\withType().
Referenced by getFor().
ilObjectCorePropertiesCachedRepository::getFor | ( | ?int | $object_id, |
?string | $type = null |
||
) |
Definition at line 60 of file ilObjectCorePropertiesCachedRepository.php.
References $data, getDefaultCoreProperties(), null, and retrieveDataForObjectId().
ilObjectCorePropertiesCachedRepository::preload | ( | array | $ids | ) |
array<int> | $ids |
Implements ilObjectCorePropertiesRepository.
Definition at line 50 of file ilObjectCorePropertiesCachedRepository.php.
References retrieveDataForObjectIds().
ilObjectCorePropertiesCachedRepository::resetPreloadedData | ( | ) |
Implements ilObjectCorePropertiesRepository.
Definition at line 55 of file ilObjectCorePropertiesCachedRepository.php.
|
protected |
Definition at line 183 of file ilObjectCorePropertiesCachedRepository.php.
References $data, and retrieveDataForWhereClause().
Referenced by getFor().
|
protected |
array<int> | $object_ids |
Definition at line 199 of file ilObjectCorePropertiesCachedRepository.php.
References retrieveDataForWhereClause(), and ilDBConstants\T_INTEGER.
Referenced by preload().
|
protected |
Definition at line 205 of file ilObjectCorePropertiesCachedRepository.php.
Referenced by retrieveDataForObjectId(), and retrieveDataForObjectIds().
ilObjectCorePropertiesCachedRepository::store | ( | ilObjectCoreProperties | $properties | ) |
Remove with ILIAS10
Remove with ILIAS10
Implements ilObjectCorePropertiesRepository.
Definition at line 102 of file ilObjectCorePropertiesCachedRepository.php.
References deleteOldTileImage(), ilObjectCoreProperties\getCreateDate(), ilObjectCoreProperties\getImportId(), ilObjectCoreProperties\getObjectId(), ilObjectCoreProperties\getOwner(), ilObjectCoreProperties\getPropertyIsOnline(), ilObjectCoreProperties\getPropertyTileImage(), ilObjectCoreProperties\getPropertyTitleAndDescription(), ilObjectCoreProperties\getType(), ILIAS\Repository\int(), null, storeLongDescription(), ilDBConstants\T_DATETIME, ilDBConstants\T_INTEGER, ilDBConstants\T_TEXT, and ilObjectCoreProperties\withPropertyTileImage().
|
protected |
Definition at line 242 of file ilObjectCorePropertiesCachedRepository.php.
References ilDBConstants\T_TEXT.
Referenced by store().
|
private |
Definition at line 38 of file ilObjectCorePropertiesCachedRepository.php.
|
private |
Definition at line 35 of file ilObjectCorePropertiesCachedRepository.php.
|
private |
Definition at line 36 of file ilObjectCorePropertiesCachedRepository.php.