ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
Button.php
Go to the documentation of this file.
1
<?
php
2
3
/* Copyright (c) 2015 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4
5
namespace
ILIAS\UI\Component\Button
;
6
7
use
ILIAS\UI\Component\JavaScriptBindable
;
8
12
interface
Button
extends
\ILIAS\UI\Component\Component
,
JavaScriptBindable
{
18
public
function
getLabel
();
19
26
public
function
withLabel
($label);
27
33
public
function
getAction
();
34
40
public
function
isActive
();
41
50
public
function
withUnavailableAction
();
51
}
ILIAS\UI\Component\Button\Button\withLabel
withLabel($label)
Get a button like this, but with an additional/replaced label.
JavaScriptBindable
ILIAS\UI\Component\Button\Button\isActive
isActive()
Get to know if the button is activated.
ILIAS\UI\Component\Button\Button\withUnavailableAction
withUnavailableAction()
Get a button like this, but action should be unavailable atm.
ILIAS\UI\Implementation\Component\JavaScriptBindable
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
Definition:
JavaScriptBindable.php:11
ILIAS\UI\Component\Button
Definition:
Button.php:5
ILIAS\UI\Component\Component
A component is the most general form of an entity in the UI.
Definition:
Component.php:13
ILIAS\UI\Component\Button\Button\getAction
getAction()
Get the action of the button.
ILIAS\UI\Component\Button\Button\getLabel
getLabel()
Get the label on the button.
php
ILIAS\UI\Component\Button\Button
This describes commonalities between standard and primary buttons.
Definition:
Button.php:12
src
UI
Component
Button
Button.php
Generated on Fri Jan 17 2025 19:01:21 for ILIAS by
1.8.13 (using
Doxyfile
)