ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
JavaScriptBinding.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
27{
33 public function createId(): string;
34
38 public function addOnLoadCode(string $code): void;
39
44 public function getOnLoadCodeAsync(): string;
45}
Provides methods to interface with javascript.
addOnLoadCode(string $code)
Add some JavaScript-statements to the on-load handler of the page.
getOnLoadCodeAsync()
Get all the registered on-load javascript code for the async context, e.g.