ILIAS  release_7 Revision v7.30-3-g800a261c036
Toggle.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 2018 Thomas Famula <famula@leifos.de> Extended GPL, see docs/LICENSE */
4
6
8
12interface Toggle extends Button
13{
19 public function getActionOn();
20
26 public function getActionOff();
27
32 public function withAdditionalToggleOnSignal(Signal $signal) : Toggle;
33
38 public function withAdditionalToggleOffSignal(Signal $signal) : Toggle;
39}
An exception for terminatinating execution or to throw for unit testing.
This describes a toggle button.
Definition: Toggle.php:13
withAdditionalToggleOffSignal(Signal $signal)
getActionOn()
Get the action of the Toggle Button when it is set from off to on.
withAdditionalToggleOnSignal(Signal $signal)
getActionOff()
Get the action of the Toggle Button when it is set from on to off.