ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
Class ilMMItemRepository. More...
Public Member Functions | |
__construct () | |
ilMMItemRepository constructor. More... | |
getContainerKey () | |
isForced () | |
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 | |
ilDBInterface | $db |
Services | $services |
MainMenuMainCollector | $main_collector |
Container | $cache |
Class ilMMItemRepository.
Definition at line 40 of file class.ilMMItemRepository.php.
ilMMItemRepository::__construct | ( | ) |
ilMMItemRepository constructor.
Throwable |
Definition at line 54 of file class.ilMMItemRepository.php.
References $DIC, and ilMMItemStorage\register().
ilMMItemRepository::clearCache | ( | ) |
Definition at line 79 of file class.ilMMItemRepository.php.
Referenced by createItem(), deleteItem(), and updateItem().
ilMMItemRepository::createItem | ( | ilMMItemFacadeInterface | $item_facade | ) |
ilMMItemFacadeInterface | $item_facade |
Definition at line 283 of file class.ilMMItemRepository.php.
References clearCache(), and ilMMItemFacadeInterface\create().
ilMMItemRepository::deleteItem | ( | ilMMItemFacadeInterface | $item_facade | ) |
ilMMItemFacadeInterface | $item_facade |
Definition at line 292 of file class.ilMMItemRepository.php.
References clearCache(), ilMMItemFacadeInterface\delete(), and ilMMItemFacadeInterface\isDeletable().
ilMMItemRepository::flushLostItems | ( | ) |
Definition at line 139 of file class.ilMMItemRepository.php.
References getItemFacade(), getSubItemsForTable(), and getTopItems().
ilMMItemRepository::getContainerKey | ( | ) |
Implements ILIAS\Cache\Container\Request.
Definition at line 68 of file class.ilMMItemRepository.php.
ilMMItemRepository::getItemFacade | ( | ?IdentificationInterface | $identification = null | ) |
IdentificationInterface | null | $identification |
Throwable |
Definition at line 179 of file class.ilMMItemRepository.php.
References null.
Referenced by flushLostItems(), getItemFacadeForIdentificationString(), getPossibleParentsForFormAndTable(), and hasLostItems().
ilMMItemRepository::getItemFacadeForIdentificationString | ( | string | $identification | ) |
string | $identification |
Throwable |
Definition at line 196 of file class.ilMMItemRepository.php.
References $id, and getItemFacade().
ilMMItemRepository::getPossibleParentsForFormAndTable | ( | ) |
Definition at line 203 of file class.ilMMItemRepository.php.
References getItemFacade(), getSingleItem(), getTopItems(), and null.
ilMMItemRepository::getPossibleSubItemTypesWithInformation | ( | ) |
Definition at line 224 of file class.ilMMItemRepository.php.
ilMMItemRepository::getPossibleTopItemTypesWithInformation | ( | bool | $new | ) |
Definition at line 245 of file class.ilMMItemRepository.php.
ilMMItemRepository::getSingleItem | ( | IdentificationInterface | $identification | ) |
IdentificationInterface | $identification |
Definition at line 88 of file class.ilMMItemRepository.php.
Referenced by getPossibleParentsForFormAndTable().
ilMMItemRepository::getSingleItemFromFilter | ( | IdentificationInterface | $identification | ) |
Definition at line 93 of file class.ilMMItemRepository.php.
ilMMItemRepository::getSubItemsForTable | ( | ) |
Definition at line 123 of file class.ilMMItemRepository.php.
Referenced by flushLostItems(), and hasLostItems().
ilMMItemRepository::getTopItems | ( | ) |
arException |
Definition at line 115 of file class.ilMMItemRepository.php.
References ActiveRecord\where().
Referenced by flushLostItems(), getPossibleParentsForFormAndTable(), and hasLostItems().
ilMMItemRepository::getTypeHandlerForType | ( | string | $type | ) |
string | $type |
Definition at line 262 of file class.ilMMItemRepository.php.
ilMMItemRepository::hasLostItems | ( | ) |
Definition at line 156 of file class.ilMMItemRepository.php.
References getItemFacade(), getSubItemsForTable(), and getTopItems().
ilMMItemRepository::isForced | ( | ) |
Implements ILIAS\Cache\Container\Request.
Definition at line 74 of file class.ilMMItemRepository.php.
ilMMItemRepository::repository | ( | ) |
ilMMItemRepository::resolveIdentificationFromString | ( | string | $identification_string | ) |
Definition at line 98 of file class.ilMMItemRepository.php.
ilMMItemRepository::updateItem | ( | ilMMItemFacadeInterface | $item_facade | ) |
ilMMItemFacadeInterface | $item_facade |
Definition at line 272 of file class.ilMMItemRepository.php.
References clearCache(), ilMMItemFacadeInterface\isEditable(), and ilMMItemFacadeInterface\update().
|
private |
Definition at line 48 of file class.ilMMItemRepository.php.
|
private |
Definition at line 42 of file class.ilMMItemRepository.php.
|
private |
Definition at line 46 of file class.ilMMItemRepository.php.
|
private |
Definition at line 44 of file class.ilMMItemRepository.php.