◆ __construct()
◆ getModalShowSignalId()
ilWebDAVMountInstructionsModalGUI::getModalShowSignalId |
( |
| ) |
|
|
private |
◆ getRenderedModal()
ilWebDAVMountInstructionsModalGUI::getRenderedModal |
( |
| ) |
|
|
private |
◆ maybeRenderWebDAVModalInGlobalTpl()
static ilWebDAVMountInstructionsModalGUI::maybeRenderWebDAVModalInGlobalTpl |
( |
| ) |
|
|
static |
Definition at line 66 of file class.ilWebDAVMountInstructionsModalGUI.php.
References $DIC, and $tpl.
Referenced by ilWebDAVMountInstructionsDocumentTableGUI\__construct(), and ilObjectListGUI\insertCommand().
68 if (self::$modal_already_rendered) {
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>';
79 $webdav_modal_html = $instance->getRenderedModal() . $js_function;
81 $tpl = $DIC->ui()->mainTemplate();
82 $tpl->setVariable(
'WEBDAV_MODAL', $webdav_modal_html);
ilWebDAVMountInstructionsRepositoryImpl $repository
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
◆ $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: