ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
JavaScriptBinding.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 2016 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4 
6 
11 {
19  public function createId();
20 
27  public function addOnLoadCode($code);
28 
35  public function getOnLoadCodeAsync();
36 }
$code
Definition: example_050.php:99
Provides methods to interface with javascript.
getOnLoadCodeAsync()
Get all the registered on-load javascript code for the async context, e.g.
addOnLoadCode($code)
Add some JavaScript-statements to the on-load handler of the page.