ILIAS  release_8 Revision v8.23
ilMMItemFacade Class Reference

Class ilMMItemFacade. More...

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

Public Member Functions

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

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
 
IdentificationInterface $identification
 
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 
)

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

References ILIAS\GlobalScreen\Provider\__construct().

33  {
34  parent::__construct($identification, $collector);
35  }
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

Member Function Documentation

◆ isCustom()

ilMMItemFacade::isCustom ( )
Returns
bool

Implements ilMMItemFacadeInterface.

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

47  : bool
48  {
49  return false;
50  }

◆ isDeletable()

ilMMItemFacade::isDeletable ( )

Implements ilMMItemFacadeInterface.

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

65  : bool
66  {
67  return ($this->raw_item instanceof Lost);
68  }

◆ isEditable()

ilMMItemFacade::isEditable ( )

Implements ilMMItemFacadeInterface.

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

56  : bool
57  {
58  return (!$this->raw_item instanceof Lost);
59  }

◆ setAction()

ilMMItemFacade::setAction ( string  $action)

Implements ilMMItemFacadeInterface.

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

88  : void
89  {
90  // Setting action not possible for non custom items
91  }

◆ setType()

ilMMItemFacade::setType ( string  $type)

Implements ilMMItemFacadeInterface.

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

References $type.

79  : void
80  {
81  $this->type = $type;
82  }

Field Documentation

◆ $type

ilMMItemFacade::$type
protected

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

Referenced by setType().


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