◆ __construct()
ILIAS\components\WOPI\Embed\Renderer::__construct |
( |
private EmbeddedApplication |
$embedded_application | ) |
|
Definition at line 33 of file Renderer.php.
References $DIC.
37 $this->ui_factory = $DIC->ui()->factory();
◆ getComponent()
ILIAS\components\WOPI\Embed\Renderer::getComponent |
( |
| ) |
|
Definition at line 40 of file Renderer.php.
42 $tpl = new \ilTemplate(
'tpl.wopi_container.html',
true,
true,
'components/ILIAS/WOPI');
43 $tpl->setVariable(
'EDITOR_URL', (
string) $this->embedded_application->getActionLauncherURL());
44 $tpl->setVariable(
'INLINE', (
string) (
int) $this->embedded_application->isInline());
45 $tpl->setVariable(
'TOKEN', (
string) $this->embedded_application->getToken());
46 $tpl->setVariable(
'TTL', (
string) (time() + $this->embedded_application->getTTL()) * 1000);
48 return $this->ui_factory->legacy()->content($tpl->get());
◆ $ui_factory
Factory ILIAS\components\WOPI\Embed\Renderer::$ui_factory |
|
private |
The documentation for this class was generated from the following file: