|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Class ilAsyncNotifications Allows to display async notifications on a page. More...
Collaboration diagram for ilAsyncNotifications: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 127 of file class.ilAsyncNotifications.php.
Referenced by initJs().
Here is the caller graph for this function:| ilAsyncNotifications::getContentContainerId | ( | ) |
Gets the target container for the notification.
Definition at line 77 of file class.ilAsyncNotifications.php.
References $content_container_id.
| ilAsyncNotifications::getHTML | ( | ) |
Returns the component (returns the js tag)
Definition at line 66 of file class.ilAsyncNotifications.php.
References $tpl, and initJs().
Here is the call graph for this function:| ilAsyncNotifications::getJsConfig | ( | $key | ) |
Gets a setting of the jquery-plugin config.
Definition at line 117 of file class.ilAsyncNotifications.php.
| ilAsyncNotifications::getJsPath | ( | ) |
Return the path for the javascripts.
Definition at line 97 of file class.ilAsyncNotifications.php.
References $js_path.
Referenced by initJs().
Here is the caller graph for this function:| ilAsyncNotifications::initJs | ( | ) |
Setup the message templates and add the js onload code.
Definition at line 43 of file class.ilAsyncNotifications.php.
References $tpl, addJsConfig(), and getJsPath().
Referenced by getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAsyncNotifications::setContentContainerId | ( | $content_container_id | ) |
Sets the target container for the notification.
| null | string | $content_container_id |
Definition at line 87 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 107 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().