ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
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 ilSetting | $settings |
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 27 of file class.ilAccountMail.php.
ilAccountMail::__construct | ( | ) |
Definition at line 40 of file class.ilAccountMail.php.
References $DIC, and ILIAS\Repository\settings().
ilAccountMail::areLangVariablesUsedAsFallback | ( | ) |
Definition at line 55 of file class.ilAccountMail.php.
References $lang_variables_as_fallback.
ilAccountMail::getUser | ( | ) |
Definition at line 86 of file class.ilAccountMail.php.
References $user.
Referenced by send().
ilAccountMail::getUserPassword | ( | ) |
Definition at line 65 of file class.ilAccountMail.php.
References $u_password.
Referenced by replacePlaceholders().
|
private |
Definition at line 101 of file class.ilAccountMail.php.
Referenced by send().
ilAccountMail::replacePlaceholders | ( | string | $a_string, |
ilObjUser | $a_user, | ||
NewAccountMail | $a_amail, | ||
string | $a_lang | ||
) |
Definition at line 188 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(), ilSetting\get(), ilObjUser\getEmail(), ilObjUser\getFirstname(), ilObjUser\getGender(), ilObjUser\getLastname(), ilObjUser\getLogin(), ilObjUser\getTimeLimitFrom(), ilObjUser\getTimeLimitUnlimited(), ilObjUser\getTimeLimitUntil(), getUserPassword(), and IL_CAL_UNIX.
Referenced by send().
ilAccountMail::reset | ( | ) |
Definition at line 91 of file class.ilAccountMail.php.
References ILIAS\Repository\user().
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 116 of file class.ilAccountMail.php.
References $amail, $lang, $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().
ilAccountMail::setPermanentLinkTarget | ( | ?string | $permanent_link_target | ) |
Definition at line 75 of file class.ilAccountMail.php.
References $permanent_link_target.
ilAccountMail::setUser | ( | ilObjUser | $a_user | ) |
Definition at line 70 of file class.ilAccountMail.php.
References ILIAS\Repository\user().
ilAccountMail::setUserPassword | ( | string | $a_pwd | ) |
Definition at line 60 of file class.ilAccountMail.php.
ilAccountMail::useLangVariablesAsFallback | ( | bool | $a_status | ) |
Definition at line 50 of file class.ilAccountMail.php.
|
private |
Definition at line 36 of file class.ilAccountMail.php.
|
private |
Definition at line 37 of file class.ilAccountMail.php.
Referenced by send().
|
private |
Definition at line 35 of file class.ilAccountMail.php.
|
private |
Definition at line 34 of file class.ilAccountMail.php.
Referenced by areLangVariablesUsedAsFallback().
|
private |
Definition at line 38 of file class.ilAccountMail.php.
Referenced by replacePlaceholders(), and setPermanentLinkTarget().
|
private |
Definition at line 30 of file class.ilAccountMail.php.
|
private |
Definition at line 31 of file class.ilAccountMail.php.
|
private |
Definition at line 29 of file class.ilAccountMail.php.
Referenced by replacePlaceholders().
string ilAccountMail::$u_password = '' |
Definition at line 32 of file class.ilAccountMail.php.
Referenced by getUserPassword().
ilObjUser ilAccountMail::$user = null |
Definition at line 33 of file class.ilAccountMail.php.