19 declare(strict_types=1);
    34         bool $include_subobjects = 
false,
    54         throw new ilException(
"Call to getNotesHTML is deprecated");
    59         throw new ilException(
"Call to getCommentsHTML is deprecated");
    65             $mess_txt = $this->
lng->txt(
"notes_no_comments");
    67             $mess_txt = $this->
lng->txt(
"notes_no_comments_found");
    74         if (!$this->show_header) {
    77         return $this->
lng->txt(
"notes_comments");
    82         return $this->gui->profile()->getNamePresentation($note->
getAuthor());
    88         $properties[$this->
lng->txt(
"create_date")] = $creation_date;
    98         return $this->
lng->txt(
"notes_delete_comment");
   103         return $this->
lng->txt(
"notes_latest_comment");
   108         return $this->
lng->txt(
"notes_add_edit_comment");
   127             $this->gui->initJavascript();
   130         $ilCtrl->
setParameter($this, 
"notes_type", $this->note_type);
   136         if (!is_array($this->rep_obj_id) && $this->news_id === 0) {
   142             $active = $this->manager->commentsActive($this->rep_obj_id);
   150         if (!is_array($this->rep_obj_id) && $this->comments_settings && $ilUser->getId() !== 
ANONYMOUS_USER_ID) {
   151             $active = $this->manager->commentsActive($this->rep_obj_id);
   153                 if ($this->news_id === 0) {
   156                         $lng->
txt(
"notes_deactivate_comments"),
   157                         "deactivateComments",
   165                     $lng->
txt(
"notes_activate_comments"),
   186         return $this->
lng->txt(
"notes_public_comments");
   191         return $this->
lng->txt(
"note_add_comment");
   196         return $this->
lng->txt(
"notes_comments_deleted");
   201         return $this->
lng->txt(
"notes_comment_deleted");
 
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
 
getNoteListHTML(bool $a_init_form=true)
 
static formatDate(ilDateTime $date, bool $a_skip_day=false, bool $a_include_wd=false, bool $include_seconds=false)
 
enablePrivateNotes(bool $a_enable=true)
 
getShyButton(string $a_var, string $a_txt, string $a_cmd, string $a_anchor="", int $note_id=0)
 
renderContent(string $content)
Render content into notes wrapper. 
 
enablePublicNotes(bool $a_enable=true)
 
setParameter(object $a_gui_obj, string $a_parameter, $a_value)
 
renderComponents(array $components)