3 declare(strict_types=1);
    50     public function __construct(
string $content_container_id = null)
    52         $this->js_init = 
false;
    53         $this->js_path = 
"./Modules/StudyProgramme/templates/js/";
    54         $this->content_container_id = $content_container_id ?? 
"ilContentContainer";
    65         if (!$this->js_init) {
    66             $tpl->addJavaScript($this->
getJsPath() . 
'ilStudyProgramme.js');
    78                 $this->content_container_id .
    79                 "').study_programme_notifications(" .
    80                 json_encode($this->js_config, JSON_THROW_ON_ERROR) .
    84             $this->js_init = 
true;
   135         return $this->js_config[
$key];
   146         $this->js_config[
$key] = $value;
 addJsConfig($key, $value)
Sets Jquery settings for the plugin. 
 
static getSystemMessageHTML(string $a_txt, string $a_type="info")
Get HTML for a system message. 
 
setJsPath(string $js_path)
Sets the path for the java scripts. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
__construct(string $content_container_id=null)
 
getJsConfig($key)
Gets a setting of the jquery-plugin config. 
 
getContentContainerId()
Gets the target container for the notification. 
 
string $content_container_id
 
getJsPath()
Return the path for the java scripts. 
 
setContentContainerId(?string $content_container_id)
Sets the target container for the notification. 
 
getHTML()
Returns the component (returns the js tag) 
 
initJs()
Setup the message templates and add the js onload code.