ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 34 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 138 of file class.ilAsyncNotifications.php.
References $key.
Referenced by initJs().
ilAsyncNotifications::getContentContainerId | ( | ) |
Gets the target container for the notification.
Definition at line 83 of file class.ilAsyncNotifications.php.
References $content_container_id.
ilAsyncNotifications::getHTML | ( | ) |
Returns the component (returns the js tag)
Definition at line 70 of file class.ilAsyncNotifications.php.
References $DIC, $tpl, and initJs().
ilAsyncNotifications::getJsConfig | ( | $key | ) |
Gets a setting of the jquery-plugin config.
Definition at line 127 of file class.ilAsyncNotifications.php.
References $key.
ilAsyncNotifications::getJsPath | ( | ) |
Return the path for the javascripts.
Definition at line 105 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 45 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 94 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 116 of file class.ilAsyncNotifications.php.
References $js_path.
|
protected |
Definition at line 21 of file class.ilAsyncNotifications.php.
Referenced by __construct(), getContentContainerId(), and setContentContainerId().
|
protected |
Definition at line 31 of file class.ilAsyncNotifications.php.
|
protected |
Definition at line 16 of file class.ilAsyncNotifications.php.
|
protected |
Definition at line 26 of file class.ilAsyncNotifications.php.
Referenced by getJsPath(), and setJsPath().