ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
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
5
namespace
ILIAS\UI\Implementation\Render
;
6
10
interface
JavaScriptBinding
11
{
19
public
function
createId
();
20
27
public
function
addOnLoadCode
(
$code
);
28
35
public
function
getOnLoadCodeAsync
();
36
}
$code
$code
Definition:
example_050.php:99
ILIAS\UI\Implementation\Render\JavaScriptBinding\createId
createId()
Create a fresh unique id.
ILIAS\UI\Implementation\Render
Definition:
AbstractComponentRenderer.php:5
ILIAS\UI\Implementation\Render\JavaScriptBinding
Provides methods to interface with javascript.
Definition:
JavaScriptBinding.php:10
php
ILIAS\UI\Implementation\Render\JavaScriptBinding\getOnLoadCodeAsync
getOnLoadCodeAsync()
Get all the registered on-load javascript code for the async context, e.g.
ILIAS\UI\Implementation\Render\JavaScriptBinding\addOnLoadCode
addOnLoadCode($code)
Add some JavaScript-statements to the on-load handler of the page.
src
UI
Implementation
Render
JavaScriptBinding.php
Generated on Thu Jan 16 2025 19:02:38 for ILIAS by
1.8.13 (using
Doxyfile
)