ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilMMItemFacade Class Reference

Class ilMMItemFacade. More...

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

Public Member Functions

 __construct (\ILIAS\GlobalScreen\Identification\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 (\ILIAS\GlobalScreen\Identification\IdentificationInterface $identification, Main $collector)
 ilMMAbstractItemFacade constructor. More...
 
 getId ()
 
 hasStorage ()
 
 isEmpty ()
 
 itemStorage ()
 
 identification ()
 
 item ()
 
 getAmountOfChildren ()
 
 isAvailable ()
 
 isActivated ()
 @inheritDoc More...
 
 isAlwaysAvailable ()
 @inheritDoc More...
 
 getProviderNameForPresentation ()
 
 getDefaultTitle ()
 
 setDefaultTitle (string $default_title)
 
 getStatus ()
 
 getTypeForPresentation ()
 
 getParentIdentificationString ()
 
 isCustomType ()
 
 isTopItem ()
 @inheritDoc More...
 
 isInLostItem ()
 @inheritDoc More...
 
 setIsTopItm (bool $top_item)
 @inheritDoc More...
 
 getType ()
 FSX check if doublette. More...
 
 setParent (string $parent)
 
 setPosition (int $position)
 
Parameters
int$position
More...
 
 setActiveStatus (bool $status)
 
 update ()
 
 create ()
 
 delete ()
 @inheritDoc More...
 
 itemStorage ()
 
 item ()
 
 identification ()
 
 getTypeForPresentation ()
 
 getProviderNameForPresentation ()
 
 getStatus ()
 
 isAvailable ()
 
 isActivated ()
 
 isEditable ()
 
 isDeletable ()
 
 isAlwaysAvailable ()
 
 getDefaultTitle ()
 
 getId ()
 
 getAmountOfChildren ()
 
 hasStorage ()
 
 isEmpty ()
 
 isCustom ()
 
 isCustomType ()
 
 getParentIdentificationString ()
 
 getType ()
 
 isTopItem ()
 
 isInLostItem ()
 
 setAction (string $action)
 
 setActiveStatus (bool $status)
 
 setDefaultTitle (string $default_title)
 
 setPosition (int $position)
 
 setParent (string $parent)
 
 setType (string $type)
 
 setIsTopItm (bool $top_item)
 
 update ()
 
 create ()
 
 delete ()
 

Protected Attributes

 $type
 
- Protected Attributes inherited from ilMMAbstractItemFacade
 $type_information
 
 $mm_item
 
 $gs_item
 
 $identification
 
 $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 ( \ILIAS\GlobalScreen\Identification\IdentificationInterface  $identification,
Main  $collector 
)

@inheritDoc

Reimplemented from ilMMAbstractItemFacade.

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

18 {
19 parent::__construct($identification, $collector);
20 }

References ilMMAbstractItemFacade\$identification.

Member Function Documentation

◆ isCustom()

ilMMItemFacade::isCustom ( )
Returns
bool

Implements ilMMItemFacadeInterface.

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

32 : bool
33 {
34 return false;
35 }

◆ isDeletable()

ilMMItemFacade::isDeletable ( )

@inheritDoc

Implements ilMMItemFacadeInterface.

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

50 : bool
51 {
52 return ($this->gs_item instanceof Lost);
53 }

◆ isEditable()

ilMMItemFacade::isEditable ( )

@inheritDoc

Implements ilMMItemFacadeInterface.

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

41 : bool
42 {
43 return (!$this->gs_item instanceof Lost);
44 }

◆ setAction()

ilMMItemFacade::setAction ( string  $action)

@inheritDoc

Implements ilMMItemFacadeInterface.

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

74 {
75 // Setting action not possible for non custom items
76 return;
77 }

◆ setType()

ilMMItemFacade::setType ( string  $type)

@inheritDoc

Implements ilMMItemFacadeInterface.

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

65 {
66 $this->type = $type;
67 }

References $type.

Field Documentation

◆ $type

ilMMItemFacade::$type
protected

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

Referenced by setType().


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