ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilMMAbstractItemFacade. More...
Public Member Functions | ||||
__construct (\ILIAS\GlobalScreen\Identification\IdentificationInterface $identification, Main $collector) | ||||
ilMMAbstractItemFacade constructor. More... | ||||
getId () | ||||
hasStorage () | ||||
isEmpty () | ||||
itemStorage () | ||||
identification () | ||||
item () | ||||
getAmountOfChildren () | ||||
isAvailable () | ||||
isActivated () | ||||
isAlwaysAvailable () | ||||
getProviderNameForPresentation () | ||||
getDefaultTitle () | ||||
setDefaultTitle (string $default_title) | ||||
getStatus () | ||||
getTypeForPresentation () | ||||
getParentIdentificationString () | ||||
isCustomType () | ||||
isTopItem () | ||||
isInLostItem () | ||||
setIsTopItm (bool $top_item) | ||||
getType () | ||||
FSX check if doublette. More... | ||||
setParent (string $parent) | ||||
setPosition (int $position) | ||||
| ||||
setActiveStatus (bool $status) | ||||
update () | ||||
create () | ||||
delete () | ||||
Public Member Functions inherited from ilMMItemFacadeInterface | ||||
isEditable () | ||||
isDeletable () | ||||
isCustom () | ||||
setAction (string $action) | ||||
setType (string $type) | ||||
Protected Member Functions | |
deleteAssociatedTranslations () | |
deletes all translations associated with the current identification. More... | |
Protected Attributes | |
$type_information | |
$mm_item | |
$gs_item | |
$identification | |
$default_title = "-" | |
Class ilMMAbstractItemFacade.
Definition at line 22 of file class.ilMMAbstractItemFacade.php.
ilMMAbstractItemFacade::__construct | ( | \ILIAS\GlobalScreen\Identification\IdentificationInterface | $identification, |
Main | $collector | ||
) |
ilMMAbstractItemFacade constructor.
\ILIAS\GlobalScreen\Identification\IdentificationInterface | $identification | |
Main | $collector |
Throwable |
Definition at line 55 of file class.ilMMAbstractItemFacade.php.
References $identification, identification(), and ilMMItemStorage\register().
ilMMAbstractItemFacade::create | ( | ) |
Implements ilMMItemFacadeInterface.
Definition at line 323 of file class.ilMMAbstractItemFacade.php.
References identification(), ilMMItemStorage\register(), and ilMMItemTranslationStorage\storeDefaultTranslation().
ilMMAbstractItemFacade::delete | ( | ) |
Implements ilMMItemFacadeInterface.
Definition at line 352 of file class.ilMMAbstractItemFacade.php.
References deleteAssociatedTranslations(), CachedActiveRecord\find(), identification(), and ilMMItemFacadeInterface\isDeletable().
|
protected |
deletes all translations associated with the current identification.
Exception |
Definition at line 334 of file class.ilMMAbstractItemFacade.php.
References identification(), and ActiveRecord\where().
Referenced by delete().
ilMMAbstractItemFacade::getAmountOfChildren | ( | ) |
Implements ilMMItemFacadeInterface.
Definition at line 115 of file class.ilMMAbstractItemFacade.php.
ilMMAbstractItemFacade::getDefaultTitle | ( | ) |
Implements ilMMItemFacadeInterface.
Definition at line 161 of file class.ilMMAbstractItemFacade.php.
References $default_title, and identification().
ilMMAbstractItemFacade::getId | ( | ) |
Implements ilMMItemFacadeInterface.
Definition at line 64 of file class.ilMMAbstractItemFacade.php.
References identification().
Referenced by hasStorage().
ilMMAbstractItemFacade::getParentIdentificationString | ( | ) |
Implements ilMMItemFacadeInterface.
Definition at line 208 of file class.ilMMAbstractItemFacade.php.
ilMMAbstractItemFacade::getProviderNameForPresentation | ( | ) |
Implements ilMMItemFacadeInterface.
Definition at line 152 of file class.ilMMAbstractItemFacade.php.
References identification().
ilMMAbstractItemFacade::getStatus | ( | ) |
Implements ilMMItemFacadeInterface.
Definition at line 187 of file class.ilMMAbstractItemFacade.php.
References $DIC.
ilMMAbstractItemFacade::getType | ( | ) |
FSX check if doublette.
Implements ilMMItemFacadeInterface.
Definition at line 281 of file class.ilMMAbstractItemFacade.php.
ilMMAbstractItemFacade::getTypeForPresentation | ( | ) |
ReflectionException |
Implements ilMMItemFacadeInterface.
Definition at line 202 of file class.ilMMAbstractItemFacade.php.
ilMMAbstractItemFacade::hasStorage | ( | ) |
Implements ilMMItemFacadeInterface.
Definition at line 73 of file class.ilMMAbstractItemFacade.php.
References CachedActiveRecord\find(), and getId().
ilMMAbstractItemFacade::identification | ( | ) |
Implements ilMMItemFacadeInterface.
Definition at line 100 of file class.ilMMAbstractItemFacade.php.
References $identification.
Referenced by __construct(), create(), delete(), deleteAssociatedTranslations(), getDefaultTitle(), getId(), getProviderNameForPresentation(), ilMMCustomItemFacade\update(), and update().
ilMMAbstractItemFacade::isActivated | ( | ) |
Implements ilMMItemFacadeInterface.
Definition at line 134 of file class.ilMMAbstractItemFacade.php.
References item().
ilMMAbstractItemFacade::isAlwaysAvailable | ( | ) |
Implements ilMMItemFacadeInterface.
Definition at line 143 of file class.ilMMAbstractItemFacade.php.
References item().
ilMMAbstractItemFacade::isAvailable | ( | ) |
Implements ilMMItemFacadeInterface.
Definition at line 125 of file class.ilMMAbstractItemFacade.php.
References item().
ilMMAbstractItemFacade::isCustomType | ( | ) |
Implements ilMMItemFacadeInterface.
Definition at line 223 of file class.ilMMAbstractItemFacade.php.
ilMMAbstractItemFacade::isEmpty | ( | ) |
Implements ilMMItemFacadeInterface.
Definition at line 82 of file class.ilMMAbstractItemFacade.php.
ilMMAbstractItemFacade::isInLostItem | ( | ) |
Implements ilMMItemFacadeInterface.
Definition at line 257 of file class.ilMMAbstractItemFacade.php.
ilMMAbstractItemFacade::isTopItem | ( | ) |
Implements ilMMItemFacadeInterface.
Definition at line 248 of file class.ilMMAbstractItemFacade.php.
ilMMAbstractItemFacade::item | ( | ) |
Implements ilMMItemFacadeInterface.
Definition at line 109 of file class.ilMMAbstractItemFacade.php.
References $gs_item.
Referenced by isActivated(), isAlwaysAvailable(), and isAvailable().
ilMMAbstractItemFacade::itemStorage | ( | ) |
Implements ilMMItemFacadeInterface.
Definition at line 91 of file class.ilMMAbstractItemFacade.php.
References $mm_item.
ilMMAbstractItemFacade::setActiveStatus | ( | bool | $status | ) |
bool | $status |
Implements ilMMItemFacadeInterface.
Definition at line 308 of file class.ilMMAbstractItemFacade.php.
ilMMAbstractItemFacade::setDefaultTitle | ( | string | $default_title | ) |
string | $default_title |
Implements ilMMItemFacadeInterface.
Definition at line 178 of file class.ilMMAbstractItemFacade.php.
References $default_title.
ilMMAbstractItemFacade::setIsTopItm | ( | bool | $top_item | ) |
Implements ilMMItemFacadeInterface.
Definition at line 270 of file class.ilMMAbstractItemFacade.php.
ilMMAbstractItemFacade::setParent | ( | string | $parent | ) |
string | $parent |
Implements ilMMItemFacadeInterface.
Definition at line 290 of file class.ilMMAbstractItemFacade.php.
ilMMAbstractItemFacade::setPosition | ( | int | $position | ) |
int | $position |
Implements ilMMItemFacadeInterface.
Definition at line 299 of file class.ilMMAbstractItemFacade.php.
ilMMAbstractItemFacade::update | ( | ) |
Implements ilMMItemFacadeInterface.
Definition at line 316 of file class.ilMMAbstractItemFacade.php.
References identification(), and ilMMItemTranslationStorage\storeDefaultTranslation().
|
protected |
Definition at line 44 of file class.ilMMAbstractItemFacade.php.
Referenced by getDefaultTitle(), setDefaultTitle(), and ilMMCustomItemFacade\update().
|
protected |
Definition at line 36 of file class.ilMMAbstractItemFacade.php.
Referenced by item().
|
protected |
Definition at line 40 of file class.ilMMAbstractItemFacade.php.
Referenced by ilMMNullItemFacade\__construct(), __construct(), and identification().
|
protected |
Definition at line 32 of file class.ilMMAbstractItemFacade.php.
Referenced by itemStorage().
|
protected |
Definition at line 28 of file class.ilMMAbstractItemFacade.php.