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

Class ilMMTypeHandlerSeparator. More...

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

Public Member Functions

 matchesForType ()
 
 enrichItem (\ILIAS\GlobalScreen\Scope\MainMenu\Factory\isItem $item)
 
 getAdditionalFieldsForSubForm (\ILIAS\GlobalScreen\Identification\IdentificationInterface $identification)
 
 saveFormFields (\ILIAS\GlobalScreen\Identification\IdentificationInterface $identification, array $data)
 
- Public Member Functions inherited from ILIAS\GlobalScreen\Scope\MainMenu\Collector\Handler\TypeHandler
 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)

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

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

26  {
27  if ($item instanceof Separator && $item->getTitle() !== "") {
28  $item = $item->withVisibleTitle(true);
29  }
30 
31  return $item;
32  }
+ Here is the call graph for this function:

◆ getAdditionalFieldsForSubForm()

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

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

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

◆ matchesForType()

ilMMTypeHandlerSeparator::matchesForType ( )

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 
)

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: