ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
Engageable.php
Go to the documentation of this file.
1
<?
php
2
3
/* Copyright (c) 2018 Nils Haagen <nils.haagen@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4
5
namespace
ILIAS\UI\Component\Button
;
6
7
use
ILIAS\UI\Component\Component
;
8
12
interface
Engageable
extends
Component
13
{
20
public
function
isEngageable
() : bool;
21
26
public
function
withEngagedState
(
bool
$state) :
Engageable
;
27
31
public
function
isEngaged
() : bool;
32
}
php
An exception for terminatinating execution or to throw for unit testing.
ILIAS\UI\Component\Button\Engageable
Engageable Components have an "engaged" state and will be displayed accordingly.
Definition:
Engageable.php:13
ILIAS\UI\Component\Button\Engageable\isEngaged
isEngaged()
Returns whether the button is currently engaged or not.
ILIAS\UI\Component\Button\Engageable\withEngagedState
withEngagedState(bool $state)
Get a copy of the Engageable Button with engaged state for $state=true and with disengaged state for ...
ILIAS\UI\Component\Button\Engageable\isEngageable
isEngageable()
Returns whether the button is stateful or not.
ILIAS\UI\Component\Component
A component is the most general form of an entity in the UI.
Definition:
Component.php:14
ILIAS\UI\Component\Button
Definition:
Bulky.php:4
src
UI
Component
Button
Engageable.php
Generated on Fri Oct 3 2025 21:01:11 for ILIAS by
1.9.4 (using
Doxyfile
)