ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator 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 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)

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 ( )

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 
)

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: