ILIAS  release_7 Revision v7.30-3-g800a261c036
ilMMTypeHandlerSeparator Class Reference

Class ilMMTypeHandlerSeparator. More...

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

Public Member Functions

 matchesForType ()
 @inheritDoc More...
 
 enrichItem (\ILIAS\GlobalScreen\Scope\MainMenu\Factory\isItem $item)
 @inheritDoc More...
 
 getAdditionalFieldsForSubForm (\ILIAS\GlobalScreen\Identification\IdentificationInterface $identification)
 @inheritDoc More...
 
 saveFormFields (\ILIAS\GlobalScreen\Identification\IdentificationInterface $identification, array $data)
 @inheritDoc More...
 
- Public Member Functions inherited from ILIAS\GlobalScreen\Scope\MainMenu\Collector\Handler\TypeHandler
 matchesForType ()
 
 enrichItem (isItem $item)
 
 getAdditionalFieldsForSubForm (IdentificationInterface $identification)
 
 saveFormFields (IdentificationInterface $identification, array $data)
 

Detailed Description

Member Function Documentation

◆ enrichItem()

ilMMTypeHandlerSeparator::enrichItem ( \ILIAS\GlobalScreen\Scope\MainMenu\Factory\isItem  $item)

@inheritDoc

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

26 {
27 if ($item instanceof Separator && $item->getTitle() !== "") {
28 $item = $item->withVisibleTitle(true);
29 }
30
31 return $item;
32 }

References ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Separator\getTitle().

+ Here is the call graph for this function:

◆ getAdditionalFieldsForSubForm()

ilMMTypeHandlerSeparator::getAdditionalFieldsForSubForm ( \ILIAS\GlobalScreen\Identification\IdentificationInterface  $identification)

@inheritDoc

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

38 : array
39 {
40 return array();
41 }

◆ matchesForType()

ilMMTypeHandlerSeparator::matchesForType ( )

@inheritDoc

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

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

16 : string
17 {
18 return Separator::class;
19 }

◆ saveFormFields()

ilMMTypeHandlerSeparator::saveFormFields ( \ILIAS\GlobalScreen\Identification\IdentificationInterface  $identification,
array  $data 
)

@inheritDoc

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

47 : bool
48 {
49 return true;
50 }

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