◆ __construct()
◆ getModalShowSignalId()
| ilWebDAVMountInstructionsModalGUI::getModalShowSignalId |
( |
| ) |
|
|
private |
◆ getRenderedModal()
| ilWebDAVMountInstructionsModalGUI::getRenderedModal |
( |
| ) |
|
|
private |
◆ maybeRenderWebDAVModalInGlobalTpl()
| static ilWebDAVMountInstructionsModalGUI::maybeRenderWebDAVModalInGlobalTpl |
( |
| ) |
|
|
static |
Definition at line 66 of file class.ilWebDAVMountInstructionsModalGUI.php.
66 : void
67 {
68 if (self::$modal_already_rendered) {
69 return;
70 }
71
75
76 self::$modal_already_rendered = true;
77 $js_function = '<script>function triggerWebDAVModal(api_url){ $.ajax(api_url).done(function(data){ $(document).trigger("' . $instance->getModalShowSignalId() . '", "{}"); $("#' . self::MOUNT_INSTRUCTIONS_CONTENT_ID . '").html(data);}) }</script>';
78
79 $webdav_modal_html = $instance->getRenderedModal() . $js_function;
80
82 $tpl->setVariable(
'WEBDAV_MODAL', $webdav_modal_html);
83 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
if($DIC->http() ->request() ->getMethod()=="GET" &&isset($DIC->http() ->request() ->getQueryParams()['tex'])) $tpl
References $DIC, $repository, and $tpl.
Referenced by ilWebDAVMountInstructionsDocumentTableGUI\__construct(), and ilObjectListGUI\insertCommand().
◆ $lng
| ilLanguage ilWebDAVMountInstructionsModalGUI::$lng |
|
protected |
◆ $modal
| Lightbox ilWebDAVMountInstructionsModalGUI::$modal |
|
private |
◆ $modal_already_rendered
| bool ilWebDAVMountInstructionsModalGUI::$modal_already_rendered = false |
|
staticprivate |
◆ $repository
◆ $ui_factory
| Factory ilWebDAVMountInstructionsModalGUI::$ui_factory |
|
protected |
◆ $ui_renderer
| Renderer ilWebDAVMountInstructionsModalGUI::$ui_renderer |
|
protected |
◆ MOUNT_INSTRUCTIONS_CONTENT_ID
| const ilWebDAVMountInstructionsModalGUI::MOUNT_INSTRUCTIONS_CONTENT_ID = 'webdav_mount_instructions_content' |
|
private |
The documentation for this class was generated from the following file: