ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
ilMMTypeHandlerSeparator Class Reference

Class ilMMTypeHandlerSeparator. More...

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

Public Member Functions

 matchesForType ()
 
 enrichItem (isItem $item)
 
 getAdditionalFieldsForSubForm (IdentificationInterface $identification)
 
 saveFormFields (IdentificationInterface $identification, array $data)
 

Detailed Description

Member Function Documentation

◆ enrichItem()

ilMMTypeHandlerSeparator::enrichItem ( isItem  $item)

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

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

29  : isItem
30  {
31  if ($item instanceof Separator && $item->getTitle() !== "") {
32  $item = $item->withVisibleTitle(true);
33  }
34 
35  return $item;
36  }

◆ getAdditionalFieldsForSubForm()

ilMMTypeHandlerSeparator::getAdditionalFieldsForSubForm ( IdentificationInterface  $identification)

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

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

42  : array
43  {
44  return array();
45  }

◆ matchesForType()

ilMMTypeHandlerSeparator::matchesForType ( )

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

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

20  : string
21  {
22  return Separator::class;
23  }

◆ saveFormFields()

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

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

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

51  : bool
52  {
53  return true;
54  }

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