ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
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 () | |
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 18 of file class.ilMMItemRepository.php.
ilMMItemRepository::__construct | ( | ) |
ilMMItemRepository constructor.
Throwable |
Definition at line 42 of file class.ilMMItemRepository.php.
References $DIC, ilGlobalCache\COMP_GLOBAL_SCREEN, ilGlobalCache\getInstance(), and ilMMItemStorage\register().
ilMMItemRepository::clearCache | ( | ) |
Definition at line 56 of file class.ilMMItemRepository.php.
Referenced by createItem(), deleteItem(), and updateItem().
ilMMItemRepository::createItem | ( | ilMMItemFacadeInterface | $item_facade | ) |
ilMMItemFacadeInterface | $item_facade |
Definition at line 260 of file class.ilMMItemRepository.php.
References clearCache(), and ilMMItemFacadeInterface\create().
ilMMItemRepository::deleteItem | ( | ilMMItemFacadeInterface | $item_facade | ) |
ilMMItemFacadeInterface | $item_facade |
Definition at line 269 of file class.ilMMItemRepository.php.
References clearCache(), ilMMItemFacadeInterface\delete(), and ilMMItemFacadeInterface\isDeletable().
ilMMItemRepository::flushLostItems | ( | ) |
Definition at line 116 of file class.ilMMItemRepository.php.
References getItemFacade(), getSubItemsForTable(), and getTopItems().
ilMMItemRepository::getItemFacade | ( | IdentificationInterface | $identification = null | ) |
IdentificationInterface | null | $identification |
Throwable |
Definition at line 156 of file class.ilMMItemRepository.php.
Referenced by flushLostItems(), getItemFacadeForIdentificationString(), getPossibleParentsForFormAndTable(), and hasLostItems().
ilMMItemRepository::getItemFacadeForIdentificationString | ( | string | $identification | ) |
string | $identification |
Throwable |
Definition at line 173 of file class.ilMMItemRepository.php.
References getItemFacade(), and ilMMItemFacadeInterface\identification().
ilMMItemRepository::getPossibleParentsForFormAndTable | ( | ) |
Definition at line 180 of file class.ilMMItemRepository.php.
References $data, getItemFacade(), getSingleItem(), and getTopItems().
ilMMItemRepository::getPossibleSubItemTypesWithInformation | ( | ) |
Definition at line 201 of file class.ilMMItemRepository.php.
ilMMItemRepository::getPossibleTopItemTypesWithInformation | ( | ) |
Definition at line 222 of file class.ilMMItemRepository.php.
ilMMItemRepository::getSingleItem | ( | IdentificationInterface | $identification | ) |
IdentificationInterface | $identification |
Definition at line 65 of file class.ilMMItemRepository.php.
Referenced by getPossibleParentsForFormAndTable().
ilMMItemRepository::getSingleItemFromFilter | ( | IdentificationInterface | $identification | ) |
Definition at line 70 of file class.ilMMItemRepository.php.
ilMMItemRepository::getSubItemsForTable | ( | ) |
Definition at line 100 of file class.ilMMItemRepository.php.
References $data.
Referenced by flushLostItems(), and hasLostItems().
ilMMItemRepository::getTopItems | ( | ) |
arException |
Definition at line 92 of file class.ilMMItemRepository.php.
References ActiveRecord\where().
Referenced by flushLostItems(), getPossibleParentsForFormAndTable(), and hasLostItems().
ilMMItemRepository::getTypeHandlerForType | ( | string | $type | ) |
string | $type |
Definition at line 239 of file class.ilMMItemRepository.php.
ilMMItemRepository::hasLostItems | ( | ) |
Definition at line 133 of file class.ilMMItemRepository.php.
References getItemFacade(), getSubItemsForTable(), and getTopItems().
ilMMItemRepository::repository | ( | ) |
ilMMItemRepository::resolveIdentificationFromString | ( | string | $identification_string | ) |
Definition at line 75 of file class.ilMMItemRepository.php.
ilMMItemRepository::updateItem | ( | ilMMItemFacadeInterface | $item_facade | ) |
ilMMItemFacadeInterface | $item_facade |
Definition at line 249 of file class.ilMMItemRepository.php.
References clearCache(), ilMMItemFacadeInterface\isEditable(), and ilMMItemFacadeInterface\update().
|
private |
Definition at line 28 of file class.ilMMItemRepository.php.
|
private |
Definition at line 24 of file class.ilMMItemRepository.php.
|
private |
Definition at line 36 of file class.ilMMItemRepository.php.
|
private |
Definition at line 32 of file class.ilMMItemRepository.php.