ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilButtonToSplitButtonMenuItemAdapter Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilButtonToSplitButtonMenuItemAdapter:
+ Collaboration diagram for ilButtonToSplitButtonMenuItemAdapter:

Public Member Functions

 __construct (ilButtonBase $button)
 
 getContent ()
 

Protected Attributes

ilButtonBase $button
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilButtonToSplitButtonMenuItemAdapter

Author
Michael Jansen mjans.nosp@m.en@d.nosp@m.ataba.nosp@m.y.de

Definition at line 23 of file class.ilButtonToSplitButtonMenuItemAdapter.php.

Constructor & Destructor Documentation

◆ __construct()

ilButtonToSplitButtonMenuItemAdapter::__construct ( ilButtonBase  $button)

Definition at line 27 of file class.ilButtonToSplitButtonMenuItemAdapter.php.

References $button.

28  {
29  $this->button = $button;
30  }

Member Function Documentation

◆ getContent()

ilButtonToSplitButtonMenuItemAdapter::getContent ( )

Implements ilSplitButtonMenuItem.

Definition at line 32 of file class.ilButtonToSplitButtonMenuItemAdapter.php.

32  : string
33  {
34  $this->button->applyDefaultCss(false);
35  return $this->button->render();
36  }

Field Documentation

◆ $button

ilButtonBase ilButtonToSplitButtonMenuItemAdapter::$button
protected

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

Referenced by __construct().


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