ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
__construct (int $id, Context $context, string $text, int $author, int $type=self::PRIVATE, ?string $creation_date=null, ?string $update_date=null) | |
withCreationDate (string $creation_date) | |
getId () | |
getContext () | |
getText () | |
getAuthor () | |
getType () | |
getCreationDate () | |
getUpdateDate () | |
Data Fields | |
const | PRIVATE = 1 |
const | PUBLIC = 2 |
Protected Attributes | |
int | $id = 0 |
string | $update_date |
string | $creation_date |
int | $author = 0 |
int | $type = 0 |
string | $text = "" |
Context | $context |
Definition at line 26 of file class.Note.php.
ILIAS\Notes\Note::__construct | ( | int | $id, |
Context | $context, | ||
string | $text, | ||
int | $author, | ||
int | $type = self::PRIVATE , |
||
?string | $creation_date = null , |
||
?string | $update_date = null |
||
) |
Definition at line 39 of file class.Note.php.
References ILIAS\Notes\Note\$author, ILIAS\Notes\Note\$context, ILIAS\Notes\Note\$creation_date, ILIAS\Notes\Note\$id, ILIAS\Notes\Note\$text, ILIAS\Notes\Note\$type, and ILIAS\Notes\Note\$update_date.
ILIAS\Notes\Note::getAuthor | ( | ) |
Definition at line 79 of file class.Note.php.
References ILIAS\Notes\Note\$author.
Referenced by ILIAS\Notes\AccessManager\canDelete(), ILIAS\Notes\AccessManager\canEdit(), ILIAS\Notes\NoteDBRepository\createNote(), ilNoteGUI\exportNotesHTML(), ilNoteGUI\getItemForNote(), and ILIAS\Notes\NotificationsManager\sendNotifications().
ILIAS\Notes\Note::getContext | ( | ) |
Definition at line 69 of file class.Note.php.
References ILIAS\Notes\Note\$context.
Referenced by ILIAS\Notes\AccessManager\canDelete(), ILIAS\Notes\NoteDBRepository\createNote(), ilNoteGUI\getTarget(), ILIAS\Notes\NotificationsManager\notifyObserver(), and ILIAS\Notes\NotificationsManager\sendNotifications().
ILIAS\Notes\Note::getCreationDate | ( | ) |
Definition at line 89 of file class.Note.php.
References ILIAS\Notes\Note\$creation_date.
Referenced by ILIAS\Notes\NoteDBRepository\createNote(), and ilNoteGUI\getItemForNote().
ILIAS\Notes\Note::getId | ( | ) |
Definition at line 64 of file class.Note.php.
References ILIAS\Notes\Note\$id.
Referenced by ILIAS\Notes\NotesManager\deleteNote(), ilNoteGUI\getItemForNote(), ilNoteGUI\getNoteTextPlaceholder(), ilNoteGUI\getTarget(), and ILIAS\Notes\NotificationsManager\notifyObserver().
ILIAS\Notes\Note::getText | ( | ) |
Definition at line 74 of file class.Note.php.
References ILIAS\Notes\Note\$text.
Referenced by ILIAS\Notes\NoteDBRepository\createNote(), ilNoteGUI\getNoteText(), and ILIAS\Notes\NotificationsManager\sendNotifications().
ILIAS\Notes\Note::getType | ( | ) |
Definition at line 84 of file class.Note.php.
References ILIAS\Notes\Note\$type.
Referenced by ILIAS\Notes\AccessManager\canDelete(), ILIAS\Notes\NoteDBRepository\createNote(), ilNoteGUI\getItemForNote(), and ILIAS\Notes\NotificationsManager\sendNotifications().
ILIAS\Notes\Note::getUpdateDate | ( | ) |
Definition at line 94 of file class.Note.php.
References ILIAS\Notes\Note\$update_date.
Referenced by ilNoteGUI\getItemForNote().
ILIAS\Notes\Note::withCreationDate | ( | string | $creation_date | ) |
Definition at line 57 of file class.Note.php.
References ILIAS\Notes\Note\$creation_date.
Referenced by ILIAS\Notes\NotesManager\createNote().
|
protected |
Definition at line 34 of file class.Note.php.
Referenced by ILIAS\Notes\Note\__construct(), and ILIAS\Notes\Note\getAuthor().
|
protected |
Definition at line 37 of file class.Note.php.
Referenced by ILIAS\Notes\Note\__construct(), and ILIAS\Notes\Note\getContext().
|
protected |
Definition at line 33 of file class.Note.php.
Referenced by ILIAS\Notes\Note\__construct(), ILIAS\Notes\Note\getCreationDate(), and ILIAS\Notes\Note\withCreationDate().
|
protected |
Definition at line 31 of file class.Note.php.
Referenced by ILIAS\Notes\Note\__construct(), and ILIAS\Notes\Note\getId().
|
protected |
Definition at line 36 of file class.Note.php.
Referenced by ILIAS\Notes\Note\__construct(), and ILIAS\Notes\Note\getText().
|
protected |
Definition at line 35 of file class.Note.php.
Referenced by ILIAS\Notes\Note\__construct(), and ILIAS\Notes\Note\getType().
|
protected |
Definition at line 32 of file class.Note.php.
Referenced by ILIAS\Notes\Note\__construct(), and ILIAS\Notes\Note\getUpdateDate().
const ILIAS\Notes\Note::PRIVATE = 1 |
Definition at line 28 of file class.Note.php.
Referenced by ILIAS\Notes\AccessManager\canDelete(), ILIAS\Notes\NoteDBRepository\countNotesAndCommentsMultipleObjects(), ILIAS\Notes\Export\NotesHtmlExport\exportPage(), ILIAS\Notes\DomainService\getNrOfNotesForContext(), and ILIAS\Notes\NotificationsManager\sendNotifications().
const ILIAS\Notes\Note::PUBLIC = 2 |
Definition at line 29 of file class.Note.php.
Referenced by ILIAS\Notes\AccessManager\canDelete(), ILIAS\Notes\NoteDBRepository\countNotesAndCommentsMultipleObjects(), ILIAS\Notes\DomainService\getAllCommentsForObjId(), ILIAS\Notes\DomainService\getNrOfCommentsForContext(), and ILIAS\Notes\NotesManager\getRelatedObjectsOfUser().