ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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}
An exception for terminatinating execution or to throw for unit testing.
A component is the most general form of an entity in the UI.
Definition: Component.php:14
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.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.