◆ __construct()
◆ getModalShowSignalId()
ilWebDAVMountInstructionsModalGUI::getModalShowSignalId |
( |
| ) |
|
|
private |
◆ getRenderedModal()
ilWebDAVMountInstructionsModalGUI::getRenderedModal |
( |
| ) |
|
|
private |
◆ maybeRenderWebDAVModalInGlobalTpl()
static ilWebDAVMountInstructionsModalGUI::maybeRenderWebDAVModalInGlobalTpl |
( |
| ) |
|
|
static |
Definition at line 60 of file class.ilWebDAVMountInstructionsModalGUI.php.
References $DIC.
Referenced by ilWebDAVMountInstructionsDocumentTableGUI\__construct(), and ilObjectListGUI\insertCommand().
62 if (self::$modal_already_rendered) {
70 $DIC->ui()->factory(),
71 $DIC->ui()->renderer(),
75 self::$modal_already_rendered =
true;
76 $js_function =
'<script>function triggerWebDAVModal(api_url){ $.ajax(api_url).done(function(data){ $(document).trigger("' . $instance->getModalShowSignalId(
77 ) .
'", "{}"); $("#' . 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);
◆ $modal
Lightbox ilWebDAVMountInstructionsModalGUI::$modal |
|
private |
◆ $modal_already_rendered
bool ilWebDAVMountInstructionsModalGUI::$modal_already_rendered = false |
|
staticprivate |
◆ 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: