ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
Legacy.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 2016 Timon Amstutz <timon.amstutz@ilub.unibe.ch> Extended GPL, see docs/LICENSE */
3 
4 
6 
9 
15 {
21  public function getContent();
22 
31  public function withCustomSignal(string $signal_name, string $js_code) : Legacy;
32 
41  public function getCustomSignal(string $signal_name);
42 }
withCustomSignal(string $signal_name, string $js_code)
Get a legacy component like this, but with an additional signal with custom JavaScript code...
getContent()
Get content as string stored in this component.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
A component is the most general form of an entity in the UI.
Definition: Component.php:13
getCustomSignal(string $signal_name)
Get signal with custom JavaScript code.