ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilMMItemRepository. More...
Public Member Functions | |
__construct () | |
ilMMItemRepository constructor. More... | |
clearCache () | |
getSingleItem (IdentificationInterface $identification) | |
getSingleItemFromFilter (IdentificationInterface $identification) | |
resolveIdentificationFromString (string $identification_string) | |
repository () | |
getTopItems () | |
getSubItemsForTable () | |
flushLostItems () | |
hasLostItems () | |
getItemFacade (IdentificationInterface $identification=null) | |
getItemFacadeForIdentificationString (string $identification) | |
getPossibleParentsForFormAndTable () | |
getPossibleSubItemTypesWithInformation () | |
getPossibleTopItemTypesWithInformation (bool $new) | |
getTypeHandlerForType (string $type) | |
updateItem (ilMMItemFacadeInterface $item_facade) | |
createItem (ilMMItemFacadeInterface $item_facade) | |
deleteItem (ilMMItemFacadeInterface $item_facade) | |
Private Attributes | |
$db | |
$cache | |
$services | |
$main_collector | |
Class ilMMItemRepository.
Definition at line 36 of file class.ilMMItemRepository.php.
ilMMItemRepository::__construct | ( | ) |
ilMMItemRepository constructor.
Throwable |
Definition at line 60 of file class.ilMMItemRepository.php.
References $DIC, ilGlobalCache\COMP_GLOBAL_SCREEN, ilGlobalCache\getInstance(), and ilMMItemStorage\register().
ilMMItemRepository::clearCache | ( | ) |
Definition at line 74 of file class.ilMMItemRepository.php.
Referenced by createItem(), deleteItem(), and updateItem().
ilMMItemRepository::createItem | ( | ilMMItemFacadeInterface | $item_facade | ) |
ilMMItemFacadeInterface | $item_facade |
Definition at line 278 of file class.ilMMItemRepository.php.
References clearCache(), and ilMMItemFacadeInterface\create().
ilMMItemRepository::deleteItem | ( | ilMMItemFacadeInterface | $item_facade | ) |
ilMMItemFacadeInterface | $item_facade |
Definition at line 287 of file class.ilMMItemRepository.php.
References clearCache(), ilMMItemFacadeInterface\delete(), and ilMMItemFacadeInterface\isDeletable().
ilMMItemRepository::flushLostItems | ( | ) |
Definition at line 134 of file class.ilMMItemRepository.php.
References getItemFacade(), getSubItemsForTable(), and getTopItems().
ilMMItemRepository::getItemFacade | ( | IdentificationInterface | $identification = null | ) |
IdentificationInterface | null | $identification |
Throwable |
Definition at line 174 of file class.ilMMItemRepository.php.
Referenced by flushLostItems(), getItemFacadeForIdentificationString(), getPossibleParentsForFormAndTable(), and hasLostItems().
ilMMItemRepository::getItemFacadeForIdentificationString | ( | string | $identification | ) |
string | $identification |
Throwable |
Definition at line 191 of file class.ilMMItemRepository.php.
References getItemFacade(), and ilMMItemFacadeInterface\identification().
ilMMItemRepository::getPossibleParentsForFormAndTable | ( | ) |
Definition at line 198 of file class.ilMMItemRepository.php.
References $data, getItemFacade(), getSingleItem(), and getTopItems().
ilMMItemRepository::getPossibleSubItemTypesWithInformation | ( | ) |
Definition at line 219 of file class.ilMMItemRepository.php.
ilMMItemRepository::getPossibleTopItemTypesWithInformation | ( | bool | $new | ) |
Definition at line 240 of file class.ilMMItemRepository.php.
ilMMItemRepository::getSingleItem | ( | IdentificationInterface | $identification | ) |
IdentificationInterface | $identification |
Definition at line 83 of file class.ilMMItemRepository.php.
Referenced by getPossibleParentsForFormAndTable().
ilMMItemRepository::getSingleItemFromFilter | ( | IdentificationInterface | $identification | ) |
Definition at line 88 of file class.ilMMItemRepository.php.
ilMMItemRepository::getSubItemsForTable | ( | ) |
Definition at line 118 of file class.ilMMItemRepository.php.
References $data.
Referenced by flushLostItems(), and hasLostItems().
ilMMItemRepository::getTopItems | ( | ) |
arException |
Definition at line 110 of file class.ilMMItemRepository.php.
References ActiveRecord\where().
Referenced by flushLostItems(), getPossibleParentsForFormAndTable(), and hasLostItems().
ilMMItemRepository::getTypeHandlerForType | ( | string | $type | ) |
string | $type |
Definition at line 257 of file class.ilMMItemRepository.php.
ilMMItemRepository::hasLostItems | ( | ) |
Definition at line 151 of file class.ilMMItemRepository.php.
References getItemFacade(), getSubItemsForTable(), and getTopItems().
ilMMItemRepository::repository | ( | ) |
ilMMItemRepository::resolveIdentificationFromString | ( | string | $identification_string | ) |
Definition at line 93 of file class.ilMMItemRepository.php.
ilMMItemRepository::updateItem | ( | ilMMItemFacadeInterface | $item_facade | ) |
ilMMItemFacadeInterface | $item_facade |
Definition at line 267 of file class.ilMMItemRepository.php.
References clearCache(), ilMMItemFacadeInterface\isEditable(), and ilMMItemFacadeInterface\update().
|
private |
Definition at line 46 of file class.ilMMItemRepository.php.
|
private |
Definition at line 42 of file class.ilMMItemRepository.php.
|
private |
Definition at line 54 of file class.ilMMItemRepository.php.
|
private |
Definition at line 50 of file class.ilMMItemRepository.php.