ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
Engageable.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\Component\Button
;
22
23
use
ILIAS\UI\Component\Component
;
24
28
interface
Engageable
extends
Component
29
{
36
public
function
isEngageable
(): bool;
37
44
public
function
withEngagedState
(
bool
$state);
45
49
public
function
isEngaged
(): bool;
50
}
ILIAS\UI\Component\Button\Engageable
Engageable Components have an "engaged" state and will be displayed accordingly.
Definition:
Engageable.php:29
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:28
ILIAS\UI\Component\Button
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
Bulky.php:21
ILIAS\UI\Component
components
ILIAS
UI
src
Component
Button
Engageable.php
Generated on Sat Oct 18 2025 23:04:37 for ILIAS by
1.9.4 (using
Doxyfile
)