26 return str_replace(
".",
"_", uniqid(self::PREFIX,
true));
33 $this->global_tpl->addOnLoadCode(
$code);
createId()
Create a fresh unique id.This MUST return a new id on every call.string
Wraps global ilTemplate to provide JavaScriptBinding.
__construct(\ilTemplate $global_tpl)
special template class to simplify handling of ITX/PEAR
Provides methods to interface with javascript.
addOnLoadCode($code)
Add some JavaScript-statements to the on-load handler of the page.null