|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Collaboration diagram for ilAccountMail:Public Member Functions | |
| __construct () | |
| useLangVariablesAsFallback (bool $a_status) | |
| areLangVariablesUsedAsFallback () | |
| setUserPassword (string $a_pwd) | |
| getUserPassword () | |
| setUser (ilObjUser $a_user) | |
| setPermanentLinkTarget (?string $permanent_link_target) | |
| getUser () | |
| reset () | |
| send () | |
| Sends the mail with its object properties as MimeMail It first tries to read the mail body, subject and sender address from posted named formular fields. More... | |
| replacePlaceholders (string $a_string, ilObjUser $a_user, NewAccountMail $a_amail, string $a_lang) | |
Data Fields | |
| string | $u_password = '' |
| ilObjUser | $user = null |
Private Member Functions | |
| readAccountMail (string $a_lang) | |
Private Attributes | |
| readonly GlobalHttpState | $http |
| readonly ilSetting | $settings |
| readonly Refinery | $refinery |
| readonly ilTree | $repository_tree |
| readonly ilMailMimeSenderFactory | $sender_factory |
| bool | $lang_variables_as_fallback = false |
| readonly ResourceStorage | $irss |
| readonly NewAccountMailRepository | $account_mail_repo |
| array | $amail = [] |
| string | $permanent_link_target = null |
Definition at line 28 of file class.ilAccountMail.php.
| ilAccountMail::__construct | ( | ) |
Definition at line 43 of file class.ilAccountMail.php.
References $DIC, ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), and ILIAS\Repository\settings().
Here is the call graph for this function:| ilAccountMail::areLangVariablesUsedAsFallback | ( | ) |
Definition at line 60 of file class.ilAccountMail.php.
References $lang_variables_as_fallback.
| ilAccountMail::getUser | ( | ) |
Definition at line 91 of file class.ilAccountMail.php.
References $user.
Referenced by send().
Here is the caller graph for this function:| ilAccountMail::getUserPassword | ( | ) |
Definition at line 70 of file class.ilAccountMail.php.
References $u_password.
Referenced by replacePlaceholders().
Here is the caller graph for this function:
|
private |
Definition at line 106 of file class.ilAccountMail.php.
Referenced by send().
Here is the caller graph for this function:| ilAccountMail::replacePlaceholders | ( | string | $a_string, |
| ilObjUser | $a_user, | ||
| NewAccountMail | $a_amail, | ||
| string | $a_lang | ||
| ) |
Definition at line 201 of file class.ilAccountMail.php.
References $DIC, $permanent_link_target, $settings, ilLanguage\_lookupEntry(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), CLIENT_ID, CLIENT_NAME, ilDatePresentation\formatPeriod(), ilObjUser\getEmail(), ilObjUser\getFirstname(), ilObjUser\getGender(), ilObjUser\getLastname(), ilObjUser\getLogin(), ilObjUser\getTimeLimitFrom(), ilObjUser\getTimeLimitUnlimited(), ilObjUser\getTimeLimitUntil(), getUserPassword(), IL_CAL_UNIX, and ILIAS\Repository\settings().
Referenced by send().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAccountMail::reset | ( | ) |
Definition at line 96 of file class.ilAccountMail.php.
References ILIAS\Repository\user().
Here is the call graph for this function:| ilAccountMail::send | ( | ) |
Sends the mail with its object properties as MimeMail It first tries to read the mail body, subject and sender address from posted named formular fields.
If no field values found the defaults are used. Placehoders will be replaced by the appropriate data.
Definition at line 121 of file class.ilAccountMail.php.
References $amail, $filename, $user, ilObjUser\checkTimeLimit(), CLIENT_ID, ilDatePresentation\formatPeriod(), ilObjUser\getEmail(), ilObjUser\getFullname(), ilObjUser\getLanguage(), ilObjUser\getLogin(), ilObjUser\getProfileAsString(), ilObjUser\getTimeLimitFrom(), ilObjUser\getTimeLimitUntil(), getUser(), IL_CAL_UNIX, readAccountMail(), replacePlaceholders(), and ILIAS\Repository\settings().
Here is the call graph for this function:| ilAccountMail::setPermanentLinkTarget | ( | ?string | $permanent_link_target | ) |
Definition at line 80 of file class.ilAccountMail.php.
References $permanent_link_target.
| ilAccountMail::setUser | ( | ilObjUser | $a_user | ) |
Definition at line 75 of file class.ilAccountMail.php.
References ILIAS\Repository\user().
Here is the call graph for this function:| ilAccountMail::setUserPassword | ( | string | $a_pwd | ) |
Definition at line 65 of file class.ilAccountMail.php.
| ilAccountMail::useLangVariablesAsFallback | ( | bool | $a_status | ) |
Definition at line 55 of file class.ilAccountMail.php.
|
private |
Definition at line 39 of file class.ilAccountMail.php.
|
private |
Definition at line 40 of file class.ilAccountMail.php.
Referenced by send().
|
private |
Definition at line 30 of file class.ilAccountMail.php.
|
private |
Definition at line 38 of file class.ilAccountMail.php.
|
private |
Definition at line 37 of file class.ilAccountMail.php.
Referenced by areLangVariablesUsedAsFallback().
|
private |
Definition at line 41 of file class.ilAccountMail.php.
Referenced by replacePlaceholders(), and setPermanentLinkTarget().
|
private |
Definition at line 32 of file class.ilAccountMail.php.
|
private |
Definition at line 33 of file class.ilAccountMail.php.
|
private |
Definition at line 34 of file class.ilAccountMail.php.
|
private |
Definition at line 31 of file class.ilAccountMail.php.
Referenced by replacePlaceholders().
| string ilAccountMail::$u_password = '' |
Definition at line 35 of file class.ilAccountMail.php.
Referenced by getUserPassword().
| ilObjUser ilAccountMail::$user = null |
Definition at line 36 of file class.ilAccountMail.php.