ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
ViewControlInput.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\Implementation\Component\Input\ViewControl
;
22
23
use
ILIAS\UI\Component\Input\Container\ViewControl\ViewControlInput
as
ViewControlInputInterface
;
24
use
ILIAS\UI\Implementation\Component\Input\Input
;
25
use
ILIAS\UI\Implementation\Component\Triggerer
;
26
use
ILIAS\UI\Implementation\Component\JavaScriptBindable
;
27
use
ILIAS\UI\Component\Signal
;
28
29
abstract
class
ViewControlInput
extends
Input
implements
ViewControlInputInterface
30
{
31
use
JavaScriptBindable
;
32
use
Triggerer
;
33
34
protected
?
Signal
$change_signal
=
null
;
35
36
public
function
withOnChange
(
Signal
$change_signal): self
37
{
38
$clone = clone $this;
39
$clone->change_signal =
$change_signal
;
40
return
$clone;
41
}
42
43
public
function
getOnChangeSignal
():
Signal
44
{
45
if
(!$this->change_signal) {
46
throw
new \LogicException(
'View Control must be inside of View Control Container'
);
47
}
48
return
$this->change_signal
;
49
}
50
}
ILIAS\UI\Implementation\Component\Input\Input
This implements commonalities between inputs.
Definition:
Input.php:42
ILIAS\UI\Implementation\Component\Input\ViewControl\ViewControlInput
Definition:
ViewControlInput.php:29
ILIAS\UI\Implementation\Component\Input\ViewControl\ViewControlInput\$change_signal
Signal $change_signal
Definition:
ViewControlInput.php:34
ILIAS\UI\Implementation\Component\Input\ViewControl\ViewControlInput\withOnChange
withOnChange(Signal $change_signal)
Definition:
ViewControlInput.php:36
Input
ILIAS\UI\Implementation\Component\JavaScriptBindable
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
Definition:
JavaScriptBindable.php:32
ILIAS\UI\Implementation\Component\Triggerer
trait Triggerer
Definition:
Triggerer.php:36
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:144
ViewControlInput
Signal
ILIAS\UI\Implementation\Component\Input\ViewControl
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
Factory.php:21
ILIAS\UI\Implementation\Component\Input\ViewControl\ViewControlInput\getOnChangeSignal
getOnChangeSignal()
Definition:
ViewControlInput.php:43
components
ILIAS
UI
src
Implementation
Component
Input
ViewControl
ViewControlInput.php
Generated on Sun Aug 31 2025 23:04:07 for ILIAS by
1.8.13 (using
Doxyfile
)