ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilMMItemFacade Class Reference

Class ilMMItemFacade. More...

+ Inheritance diagram for ilMMItemFacade:
+ Collaboration diagram for ilMMItemFacade:

Public Member Functions

 __construct (IdentificationInterface $identification, Main $collector)
 @inheritDoc More...
 
 isCustom ()
 
 isEditable ()
 @inheritDoc More...
 
 isDeletable ()
 @inheritDoc More...
 
 setType (string $type)
 @inheritDoc More...
 
 setAction (string $action)
 @inheritDoc More...
 
- Public Member Functions inherited from ilMMAbstractItemFacade
 __construct (protected IdentificationInterface $identification, Main $collector)
 ilMMAbstractItemFacade constructor. More...
 
 getId ()
 
 hasStorage ()
 
 supportsRoleBasedVisibility ()
 @inheritDoc More...
 
 canBeDeactivated ()
 
 hasRoleBasedVisibility ()
 @inheritDoc More...
 
 setRoleBasedVisibility (bool $role_based_visibility)
 @inheritDoc More...
 
 getGlobalRoleIDs ()
 @inheritDoc More...
 
 setGlobalRoleIDs (array $global_role_ids)
 @inheritDoc More...
 
 isEmpty ()
 
 itemStorage ()
 
 identification ()
 
 getRawItem ()
 
 getFilteredItem ()
 
 getAmountOfChildren ()
 
 isAvailable ()
 
 isActivated ()
 @inheritDoc More...
 
 isAlwaysAvailable ()
 @inheritDoc More...
 
 getProviderNameForPresentation ()
 
 getDefaultTitle ()
 
 setDefaultTitle (string $default_title)
 
 getStatus ()
 
 getTypeForPresentation ()
 
 getParentIdentificationString ()
 
 isCustomType ()
 
 isTopItem ()
 @inheritDoc More...
 
 canHaveChildren ()
 
 isChild ()
 
 isInLostItem ()
 @inheritDoc More...
 
 setIsTopItm (bool $top_item)
 @inheritDoc More...
 
 isInterchangeable ()
 @inheritDoc More...
 
 getType ()
 FSX check if doublette @inheritDoc. More...
 
 setParent (string $parent)
 
 setPosition (int $position)
 
 setActiveStatus (bool $status)
 
 supportsCustomIcon ()
 
 getIconID ()
 
 setIconID (string $icon_id)
 @inheritDoc More...
 
 update ()
 
 create ()
 
 getTitle ()
 
 delete ()
 @inheritDoc More...
 
 itemStorage ()
 
 getRawItem ()
 
 getFilteredItem ()
 
 identification ()
 
 getTypeForPresentation ()
 
 getProviderNameForPresentation ()
 
 getStatus ()
 
 isAvailable ()
 
 isActivated ()
 
 canBeDeactivated ()
 
 isEditable ()
 
 isDeletable ()
 
 isAlwaysAvailable ()
 
 getDefaultTitle ()
 
 getId ()
 
 getAmountOfChildren ()
 
 hasStorage ()
 
 supportsRoleBasedVisibility ()
 
 hasRoleBasedVisibility ()
 
 getGlobalRoleIDs ()
 
 setGlobalRoleIDs (array $global_role_ids)
 
 setRoleBasedVisibility (bool $role_based_visibility)
 
 isEmpty ()
 
 isCustom ()
 
 supportsCustomIcon ()
 
 isCustomType ()
 
 getParentIdentificationString ()
 
 getType ()
 
 isTopItem ()
 
 canHaveChildren ()
 
 isChild ()
 
 isInLostItem ()
 
 getIconID ()
 
 setAction (string $action)
 
 setActiveStatus (bool $status)
 
 setDefaultTitle (string $default_title)
 
 setIconID (string $icon_id)
 
 setPosition (int $position)
 
 setParent (string $parent)
 
 setType (string $type)
 
 setIsTopItm (bool $top_item)
 
 isInterchangeable ()
 
 update ()
 
 create ()
 
 delete ()
 
 getId ()
 
 getTitle ()
 

Protected Attributes

 $type
 
- Protected Attributes inherited from ilMMAbstractItemFacade
bool $role_based_visibility = false
 
array $global_role_ids = []
 
TypeInformation $type_information
 
ilMMItemStorage $mm_item
 
isItem $filtered_item
 
isItem $raw_item
 
string $default_title = "-"
 

Additional Inherited Members

- Protected Member Functions inherited from ilMMAbstractItemFacade
 deleteAssociatedTranslations ()
 deletes all translations associated with the current identification. More...
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilMMItemFacade::__construct ( IdentificationInterface  $identification,
Main  $collector 
)

@inheritDoc

Definition at line 35 of file class.ilMMItemFacade.php.

36 {
37 parent::__construct($identification, $collector);
38 }
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc

References ILIAS\GlobalScreen\Provider\__construct().

+ Here is the call graph for this function:

Member Function Documentation

◆ isCustom()

ilMMItemFacade::isCustom ( )
Returns
bool

Implements ilMMItemFacadeInterface.

Definition at line 50 of file class.ilMMItemFacade.php.

50 : bool
51 {
52 return false;
53 }

◆ isDeletable()

ilMMItemFacade::isDeletable ( )

@inheritDoc

Implements ilMMItemFacadeInterface.

Definition at line 68 of file class.ilMMItemFacade.php.

68 : bool
69 {
70 return ($this->raw_item instanceof Lost);
71 }

◆ isEditable()

ilMMItemFacade::isEditable ( )

@inheritDoc

Implements ilMMItemFacadeInterface.

Definition at line 59 of file class.ilMMItemFacade.php.

59 : bool
60 {
61 return (!$this->raw_item instanceof Lost);
62 }

◆ setAction()

ilMMItemFacade::setAction ( string  $action)

@inheritDoc

Implements ilMMItemFacadeInterface.

Definition at line 91 of file class.ilMMItemFacade.php.

91 : void
92 {
93 // Setting action not possible for non custom items
94 }

◆ setType()

ilMMItemFacade::setType ( string  $type)

@inheritDoc

Implements ilMMItemFacadeInterface.

Definition at line 82 of file class.ilMMItemFacade.php.

82 : void
83 {
84 $this->type = $type;
85 }

References $type.

Field Documentation

◆ $type

ilMMItemFacade::$type
protected

Definition at line 44 of file class.ilMMItemFacade.php.

Referenced by setType().


The documentation for this class was generated from the following file: