|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilLearningModuleNotification:Public Member Functions | |
| __construct (string $a_action, int $a_type, ilObjLearningModule $a_learning_module, int $a_page_id, string $a_comment="") | |
| send () | |
Data Fields | |
| const | ACTION_COMMENT = "comment" |
| const | ACTION_UPDATE = "update" |
Protected Member Functions | |
| getLink () | |
| getPageTitle () | |
| getMailSubject (ilLanguage $ulng) | |
| getMailBody (ilLanguage $a_ulng, int $a_user_id) | |
| getPreviewText (ilLanguage $a_ulng) | |
Protected Attributes | |
| ilObjUser | $ilUser |
| ilAccessHandler | $ilAccess |
| ilLanguage | $lng |
| ilSetting | $lm_set |
| string | $action |
| int | $type |
| ilObjLearningModule | $learning_module |
| int | $page_id |
| string | $comment |
| string | $link |
| int | $lm_ref_id |
| string | $pg_title |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilLearningModuleNotification class
//TODO create an interface for notifications contract.(ilnotification?).Similar code in ilwikipage, ilblogposting
Definition at line 26 of file class.ilLearningModuleNotification.php.
| ilLearningModuleNotification::__construct | ( | string | $a_action, |
| int | $a_type, | ||
| ilObjLearningModule | $a_learning_module, | ||
| int | $a_page_id, | ||
| string | $a_comment = "" |
||
| ) |
| int | $a_type | Notification type e.g. ilNotification::TYPE_LM_PAGE |
Definition at line 47 of file class.ilLearningModuleNotification.php.
References $DIC, ILIAS\UI\examples\Symbol\Glyph\Comment\comment(), getLink(), getPageTitle(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 118 of file class.ilLearningModuleNotification.php.
References ilLink\_getLink().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 151 of file class.ilLearningModuleNotification.php.
References $link, $message, ilObjUser\_lookupFullname(), ILIAS\UI\examples\Symbol\Glyph\Comment\comment(), ilUserUtil\getNamePresentation(), getPreviewText(), and ilLanguage\txt().
Referenced by send().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 142 of file class.ilLearningModuleNotification.php.
References ilLanguage\txt().
Referenced by send().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 129 of file class.ilLearningModuleNotification.php.
References ilLMPageObject\_getPresentationTitle().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 170 of file class.ilLearningModuleNotification.php.
References ilPageObject\truncateHTML(), and ilLanguage\txt().
Referenced by getMailBody().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLearningModuleNotification::send | ( | ) |
Definition at line 72 of file class.ilLearningModuleNotification.php.
References $message, ilLanguageFactory\_getLanguageOfUser(), ilObjUser\_lookupLogin(), ACTION_COMMENT, ANONYMOUS_USER_ID, getMailBody(), getMailSubject(), ilNotification\getNotificationsForObject(), ilNotification\TYPE_LM, ilNotification\TYPE_LM_PAGE, and ilNotification\updateNotificationTime().
Here is the call graph for this function:
|
protected |
Definition at line 35 of file class.ilLearningModuleNotification.php.
|
protected |
Definition at line 39 of file class.ilLearningModuleNotification.php.
|
protected |
Definition at line 32 of file class.ilLearningModuleNotification.php.
|
protected |
Definition at line 31 of file class.ilLearningModuleNotification.php.
|
protected |
Definition at line 37 of file class.ilLearningModuleNotification.php.
|
protected |
Definition at line 40 of file class.ilLearningModuleNotification.php.
Referenced by getMailBody().
|
protected |
Definition at line 41 of file class.ilLearningModuleNotification.php.
|
protected |
Definition at line 34 of file class.ilLearningModuleNotification.php.
|
protected |
Definition at line 33 of file class.ilLearningModuleNotification.php.
|
protected |
Definition at line 38 of file class.ilLearningModuleNotification.php.
|
protected |
Definition at line 42 of file class.ilLearningModuleNotification.php.
|
protected |
Definition at line 36 of file class.ilLearningModuleNotification.php.
| const ilLearningModuleNotification::ACTION_COMMENT = "comment" |
Definition at line 28 of file class.ilLearningModuleNotification.php.
Referenced by send().
| const ilLearningModuleNotification::ACTION_UPDATE = "update" |
Definition at line 29 of file class.ilLearningModuleNotification.php.
Referenced by ilLMPage\afterUpdate().