ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Engageable.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
28interface Engageable extends Component
29{
36 public function isEngageable(): bool;
37
44 public function withEngagedState(bool $state);
45
49 public function isEngaged(): bool;
50}
Engageable Components have an "engaged" state and will be displayed accordingly.
Definition: Engageable.php:29
isEngaged()
Returns whether the button is currently engaged or not.
withEngagedState(bool $state)
Get a copy of the Engageable Button with engaged state for $state=true and with disengaged state for ...
isEngageable()
Returns whether the button is stateful or not.
A component is the most general form of an entity in the UI.
Definition: Component.php:28
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Bulky.php:21