ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilAsyncNotifications Allows to display async notifications on a page. More...
Public Member Functions | |
__construct ($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 ($content_container_id) | |
Sets the target container for the notification. More... | |
getJsPath () | |
Return the path for the javascripts. More... | |
setJsPath ($js_path) | |
Sets the path for the javascripts. More... | |
getJsConfig ($key) | |
Gets a setting of the jquery-plugin config. More... | |
addJsConfig ($key, $value) | |
Sets Jquery settings for the plugin. More... | |
Protected Attributes | |
$js_init | |
$content_container_id | |
$js_path | |
$js_config | |
Class ilAsyncNotifications Allows to display async notifications on a page.
Definition at line 10 of file class.ilAsyncNotifications.php.
ilAsyncNotifications::__construct | ( | $content_container_id = null | ) |
Definition at line 33 of file class.ilAsyncNotifications.php.
References $content_container_id.
ilAsyncNotifications::addJsConfig | ( | $key, | |
$value | |||
) |
Sets Jquery settings for the plugin.
mixed | $js_config |
Definition at line 129 of file class.ilAsyncNotifications.php.
Referenced by initJs().
ilAsyncNotifications::getContentContainerId | ( | ) |
Gets the target container for the notification.
Definition at line 79 of file class.ilAsyncNotifications.php.
References $content_container_id.
ilAsyncNotifications::getHTML | ( | ) |
Returns the component (returns the js tag)
Definition at line 67 of file class.ilAsyncNotifications.php.
References $DIC, $tpl, and initJs().
ilAsyncNotifications::getJsConfig | ( | $key | ) |
Gets a setting of the jquery-plugin config.
Definition at line 119 of file class.ilAsyncNotifications.php.
ilAsyncNotifications::getJsPath | ( | ) |
Return the path for the javascripts.
Definition at line 99 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 43 of file class.ilAsyncNotifications.php.
References $DIC, $tpl, addJsConfig(), and getJsPath().
Referenced by getHTML().
ilAsyncNotifications::setContentContainerId | ( | $content_container_id | ) |
Sets the target container for the notification.
null | string | $content_container_id |
Definition at line 89 of file class.ilAsyncNotifications.php.
References $content_container_id.
ilAsyncNotifications::setJsPath | ( | $js_path | ) |
Sets the path for the javascripts.
string | $js_path |
Definition at line 109 of file class.ilAsyncNotifications.php.
References $js_path.
|
protected |
Definition at line 20 of file class.ilAsyncNotifications.php.
Referenced by __construct(), getContentContainerId(), and setContentContainerId().
|
protected |
Definition at line 30 of file class.ilAsyncNotifications.php.
|
protected |
Definition at line 15 of file class.ilAsyncNotifications.php.
|
protected |
Definition at line 25 of file class.ilAsyncNotifications.php.
Referenced by getJsPath(), and setJsPath().