ILIAS  release_8 Revision v8.24
Legacy.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
22
26
32{
36 public function getContent(): string;
37
43 public function withCustomSignal(string $signal_name, string $js_code): Legacy;
44
51 public function getCustomSignal(string $signal_name): Signal;
52}
A component is the most general form of an entity in the UI.
Definition: Component.php:28
Interface to be extended by components that have the possibility to bind to Javascript.
getCustomSignal(string $signal_name)
Get signal with custom JavaScript code.
getContent()
Get content as string stored in this component.
withCustomSignal(string $signal_name, string $js_code)
Get a legacy component like this, but with an additional signal with custom JavaScript code.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Factory.php:22
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.