ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilButtonToSplitButtonMenuItemAdapter.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2015 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
require_once
'Services/UIComponent/SplitButton/interfaces/interface.ilSplitButtonMenuItem.php'
;
5
11
class
ilButtonToSplitButtonMenuItemAdapter
implements
ilSplitButtonMenuItem
12
{
16
protected
$button
;
17
21
public
function
__construct
(
ilButtonBase
$button
)
22
{
23
$this->button =
$button
;
24
}
25
29
public
function
getContent
()
30
{
31
$this->button->applyDefaultCss(
false
);
32
return
$this->button->render();
33
}
34
}
ilButtonToSplitButtonMenuItemAdapter\getContent
getContent()
Definition:
class.ilButtonToSplitButtonMenuItemAdapter.php:29
ilButtonToSplitButtonMenuItemAdapter\$button
$button
Definition:
class.ilButtonToSplitButtonMenuItemAdapter.php:16
ilButtonToSplitButtonMenuItemAdapter
Class ilButtonToSplitButtonMenuItemAdapter.
Definition:
class.ilButtonToSplitButtonMenuItemAdapter.php:11
ilSplitButtonMenuItem
Interface ilSplitButtonMenuItem.
Definition:
interface.ilSplitButtonMenuItem.php:9
ilButtonBase
Definition:
class.ilButtonBase.php:13
php
ilButtonToSplitButtonMenuItemAdapter\__construct
__construct(ilButtonBase $button)
Definition:
class.ilButtonToSplitButtonMenuItemAdapter.php:21
Services
UIComponent
SplitButton
classes
class.ilButtonToSplitButtonMenuItemAdapter.php
Generated on Thu Jan 16 2025 19:02:32 for ILIAS by
1.8.13 (using
Doxyfile
)