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

Class ilMMTypeHandlerSeparator. More...

+ Inheritance diagram for ilMMTypeHandlerSeparator:
+ Collaboration diagram for ilMMTypeHandlerSeparator:

Public Member Functions

 matchesForType ()
 @inheritDoc More...
 
 enrichItem (isItem $item)
 @inheritDoc More...
 
 getAdditionalFieldsForSubForm (IdentificationInterface $identification)
 @inheritDoc More...
 
 saveFormFields (IdentificationInterface $identification, array $data)
 @inheritDoc More...
 
 matchesForType ()
 
 enrichItem (isItem $item)
 
 getAdditionalFieldsForSubForm (IdentificationInterface $identification)
 
 saveFormFields (IdentificationInterface $identification, array $data)
 

Detailed Description

Member Function Documentation

◆ enrichItem()

ilMMTypeHandlerSeparator::enrichItem ( isItem  $item)

@inheritDoc

Implements ILIAS\GlobalScreen\Scope\MainMenu\Collector\Handler\TypeHandler.

Definition at line 45 of file class.ilMMTypeHandlerSeparator.php.

45 : isItem
46 {
47 if ($item instanceof Separator && $item->getTitle() !== "") {
48 return $item->withVisibleTitle(true);
49 }
50
51 return $item;
52 }

◆ getAdditionalFieldsForSubForm()

ilMMTypeHandlerSeparator::getAdditionalFieldsForSubForm ( IdentificationInterface  $identification)

@inheritDoc

Implements ILIAS\GlobalScreen\Scope\MainMenu\Collector\Handler\TypeHandler.

Definition at line 58 of file class.ilMMTypeHandlerSeparator.php.

58 : array
59 {
60 return [];
61 }

◆ matchesForType()

ilMMTypeHandlerSeparator::matchesForType ( )

@inheritDoc

Implements ILIAS\GlobalScreen\Scope\MainMenu\Collector\Handler\TypeHandler.

Definition at line 36 of file class.ilMMTypeHandlerSeparator.php.

36 : string
37 {
38 return Separator::class;
39 }

◆ saveFormFields()

ilMMTypeHandlerSeparator::saveFormFields ( IdentificationInterface  $identification,
array  $data 
)

@inheritDoc

Implements ILIAS\GlobalScreen\Scope\MainMenu\Collector\Handler\TypeHandler.

Definition at line 67 of file class.ilMMTypeHandlerSeparator.php.

67 : bool
68 {
69 return true;
70 }

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