◆ __construct()
◆ edit()
ilWOPIEmbeddedApplicationGUI::edit |
( |
| ) |
|
|
private |
◆ executeCommand()
ilWOPIEmbeddedApplicationGUI::executeCommand |
( |
| ) |
|
Definition at line 91 of file class.ilWOPIEmbeddedApplicationGUI.php.
References ILIAS\Repository\ctrl(), edit(), ILIAS\Repository\tabs(), and view().
93 if (!$this->application->isInline()) {
94 $this->
tabs->clearTargets();
96 $this->global_screen->tool()->context()->current()->addAdditionalData(
97 EmbeddedApplicationGSProvider::EMBEDDED_APPLICATION,
100 $a_value = bin2hex((
string) $this->application->getBackTarget());
101 $this->
ctrl->setParameter($this, self::P_RETURN_TO, $a_value);
103 match ($this->
ctrl->getCmd()) {
104 default => $this->
edit(),
105 self::CMD_EDIT => $this->
edit(),
106 self::CMD_VIEW => $this->
view(),
107 self::CMD_RETURN => $this->
return(),
◆ return()
ilWOPIEmbeddedApplicationGUI::return |
( |
| ) |
|
|
private |
Definition at line 125 of file class.ilWOPIEmbeddedApplicationGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and null.
127 $return_to = $this->
http->has(self::P_RETURN_TO)
128 ? hex2bin((
string) $this->
http->retrieve(self::P_RETURN_TO, $this->refinery->kindlyTo()->string()))
131 if ($return_to ===
null) {
132 $return_to = (string) $this->application->getBackTarget();
135 $this->main_tpl->setOnScreenMessage(
137 $this->
lng->txt(
'close_wopi_editor_info'),
141 $this->
ctrl->redirectToURL($return_to);
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
static http()
Fetches the global http state from ILIAS.
◆ view()
ilWOPIEmbeddedApplicationGUI::view |
( |
| ) |
|
|
private |
◆ $ctrl
◆ $global_screen
Services ilWOPIEmbeddedApplicationGUI::$global_screen |
|
private |
◆ $http
◆ $lng
◆ $main_tpl
◆ $refinery
Factory ilWOPIEmbeddedApplicationGUI::$refinery |
|
private |
◆ $renderer
Renderer ilWOPIEmbeddedApplicationGUI::$renderer |
|
private |
◆ $tabs
ilTabsGUI ilWOPIEmbeddedApplicationGUI::$tabs |
|
private |
◆ $ui_renderer
◆ CMD_EDIT
const ilWOPIEmbeddedApplicationGUI::CMD_EDIT = 'edit' |
◆ CMD_RETURN
const ilWOPIEmbeddedApplicationGUI::CMD_RETURN = 'return' |
◆ CMD_VIEW
const ilWOPIEmbeddedApplicationGUI::CMD_VIEW = 'view' |
◆ P_RETURN_TO
const ilWOPIEmbeddedApplicationGUI::P_RETURN_TO = 'return_to' |
The documentation for this class was generated from the following file: