ILIAS  release_8 Revision v8.24
JavaScriptBinding.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
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.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...