ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (string $content_container_id=null) | |
initJs () | |
Setup the message templates and add the js onload code. More... | |
getHTML () | |
Returns the component (returns the js tag) More... | |
getContentContainerId () | |
Gets the target container for the notification. More... | |
setContentContainerId (?string $content_container_id) | |
Sets the target container for the notification. More... | |
getJsPath () | |
Return the path for the java scripts. More... | |
setJsPath (string $js_path) | |
Sets the path for the java scripts. More... | |
getJsConfig ($key) | |
Gets a setting of the jquery-plugin config. More... | |
addJsConfig ($key, $value) | |
Sets Jquery settings for the plugin. More... | |
Protected Attributes | |
bool | $js_init |
string | $content_container_id |
string | $js_path |
array | $js_config |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilAsyncNotifications Allows displaying async notifications on a page
Definition at line 28 of file class.ilAsyncNotifications.php.
ilAsyncNotifications::__construct | ( | string | $content_container_id = null | ) |
Definition at line 50 of file class.ilAsyncNotifications.php.
ilAsyncNotifications::addJsConfig | ( | $key, | |
$value | |||
) |
Sets Jquery settings for the plugin.
mixed | $key | |
mixed | $value |
Definition at line 144 of file class.ilAsyncNotifications.php.
References ILIAS\LTI\ToolProvider\$key.
Referenced by initJs().
ilAsyncNotifications::getContentContainerId | ( | ) |
Gets the target container for the notification.
Definition at line 99 of file class.ilAsyncNotifications.php.
References $content_container_id.
ilAsyncNotifications::getHTML | ( | ) |
Returns the component (returns the js tag)
Definition at line 91 of file class.ilAsyncNotifications.php.
References initJs().
ilAsyncNotifications::getJsConfig | ( | $key | ) |
Gets a setting of the jquery-plugin config.
Definition at line 133 of file class.ilAsyncNotifications.php.
References ILIAS\LTI\ToolProvider\$key.
ilAsyncNotifications::getJsPath | ( | ) |
Return the path for the java scripts.
Definition at line 115 of file class.ilAsyncNotifications.php.
References $js_path.
Referenced by initJs().
ilAsyncNotifications::initJs | ( | ) |
Setup the message templates and add the js onload code.
Definition at line 60 of file class.ilAsyncNotifications.php.
References $DIC, $tpl, addJsConfig(), getJsPath(), and ilUtil\getSystemMessageHTML().
Referenced by getHTML().
ilAsyncNotifications::setContentContainerId | ( | ?string | $content_container_id | ) |
Sets the target container for the notification.
Definition at line 107 of file class.ilAsyncNotifications.php.
References $content_container_id.
ilAsyncNotifications::setJsPath | ( | string | $js_path | ) |
Sets the path for the java scripts.
Definition at line 123 of file class.ilAsyncNotifications.php.
References $js_path.
|
protected |
Definition at line 38 of file class.ilAsyncNotifications.php.
Referenced by getContentContainerId(), and setContentContainerId().
|
protected |
Definition at line 48 of file class.ilAsyncNotifications.php.
|
protected |
Definition at line 33 of file class.ilAsyncNotifications.php.
|
protected |
Definition at line 43 of file class.ilAsyncNotifications.php.
Referenced by getJsPath(), and setJsPath().