ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Provides methods to interface with javascript. More...
Public Member Functions | |
createId () | |
Create a fresh unique id. More... | |
addOnLoadCode (string $code) | |
Add some JavaScript-statements to the on-load handler of the page. More... | |
getOnLoadCodeAsync () | |
Get all the registered on-load javascript code for the async context, e.g. More... | |
Provides methods to interface with javascript.
Definition at line 26 of file JavaScriptBinding.php.
ILIAS\UI\Implementation\Render\JavaScriptBinding::addOnLoadCode | ( | string | $code | ) |
Add some JavaScript-statements to the on-load handler of the page.
Implemented in ILIAS\UI\Implementation\Render\ilJavaScriptBinding.
ILIAS\UI\Implementation\Render\JavaScriptBinding::createId | ( | ) |
Create a fresh unique id.
This MUST return a new id on every call.
Implemented in LoggingJavaScriptBinding, and ILIAS\UI\Implementation\Render\ilJavaScriptBinding.
ILIAS\UI\Implementation\Render\JavaScriptBinding::getOnLoadCodeAsync | ( | ) |
Get all the registered on-load javascript code for the async context, e.g.
return all code inside <script> tags
Implemented in LoggingJavaScriptBinding, and ILIAS\UI\Implementation\Render\ilJavaScriptBinding.