ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilAccountMail. More...
Public Member Functions | |
__construct () | |
constructor public More... | |
useLangVariablesAsFallback ($a_status) | |
areLangVariablesUsedAsFallback () | |
shouldAttachConfiguredFiles () | |
setAttachConfiguredFiles (bool $attachConfiguredFiles) | |
setUserPassword ($a_pwd) | |
set user password More... | |
getUserPassword () | |
get user password More... | |
setUser (&$a_user) | |
Set user. More... | |
& | getUser () |
get user object More... | |
setTarget ($a_target) | |
set repository item target More... | |
getTarget () | |
get target More... | |
reset () | |
reset all values More... | |
readAccountMail ($a_lang) | |
get new account mail array (including subject and message body) More... | |
replacePlaceholders ($a_string, &$a_user, $a_amail, $a_lang) | |
addAttachment ($a_filename, $a_display_name) | |
Data Fields | |
$u_password = "" | |
$user = "" | |
$target = "" | |
Private Member Functions | |
addAttachments ($mailData) | |
Private Attributes | |
$lang_variables_as_fallback = false | |
$attachments = array() | |
$attachConfiguredFiles = false | |
Class ilAccountMail.
Sends e-mail to newly created accounts.
Definition at line 13 of file class.ilAccountMail.php.
ilAccountMail::__construct | ( | ) |
ilAccountMail::addAttachment | ( | $a_filename, | |
$a_display_name | |||
) |
Definition at line 387 of file class.ilAccountMail.php.
Referenced by addAttachments().
|
private |
Definition at line 180 of file class.ilAccountMail.php.
References $filename, $GLOBALS, $ilSetting, $lang, $user, addAttachment(), areLangVariablesUsedAsFallback(), ilDatePresentation\formatPeriod(), getUser(), IL_CAL_UNIX, readAccountMail(), replacePlaceholders(), shouldAttachConfiguredFiles(), and USER_FOLDER_ID.
ilAccountMail::areLangVariablesUsedAsFallback | ( | ) |
Definition at line 56 of file class.ilAccountMail.php.
References $lang_variables_as_fallback.
Referenced by addAttachments().
ilAccountMail::getTarget | ( | ) |
get target
public
Definition at line 147 of file class.ilAccountMail.php.
References $target.
& ilAccountMail::getUser | ( | ) |
get user object
public
Definition at line 125 of file class.ilAccountMail.php.
References $user.
Referenced by addAttachments().
ilAccountMail::getUserPassword | ( | ) |
get user password
public
Definition at line 94 of file class.ilAccountMail.php.
References $u_password.
Referenced by replacePlaceholders().
ilAccountMail::readAccountMail | ( | $a_lang | ) |
get new account mail array (including subject and message body)
Definition at line 165 of file class.ilAccountMail.php.
References ilObjUserFolder\_lookupNewAccountMail().
Referenced by addAttachments().
ilAccountMail::replacePlaceholders | ( | $a_string, | |
& | $a_user, | ||
$a_amail, | |||
$a_lang | |||
) |
Definition at line 288 of file class.ilAccountMail.php.
References $_GET, $ilSetting, $tree, $type, ilLanguage\_lookupEntry(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilDatePresentation\formatPeriod(), getUserPassword(), and IL_CAL_UNIX.
Referenced by addAttachments().
ilAccountMail::reset | ( | ) |
reset all values
Definition at line 155 of file class.ilAccountMail.php.
References user().
ilAccountMail::setAttachConfiguredFiles | ( | bool | $attachConfiguredFiles | ) |
bool | $attachConfiguredFiles |
Definition at line 72 of file class.ilAccountMail.php.
References $attachConfiguredFiles.
ilAccountMail::setTarget | ( | $a_target | ) |
set repository item target
public
string | $a_target | target as used in permanent links, e.g. crs_123 |
Definition at line 136 of file class.ilAccountMail.php.
ilAccountMail::setUser | ( | & | $a_user | ) |
Set user.
The user object should provide email, language login, gender, first and last name
public
object | $a_user | user object |
Definition at line 106 of file class.ilAccountMail.php.
References ilObject\getId(), and user().
ilAccountMail::setUserPassword | ( | $a_pwd | ) |
set user password
public
string | $a_pwd | users password as plain text |
Definition at line 83 of file class.ilAccountMail.php.
ilAccountMail::shouldAttachConfiguredFiles | ( | ) |
Definition at line 64 of file class.ilAccountMail.php.
References $attachConfiguredFiles.
Referenced by addAttachments().
ilAccountMail::useLangVariablesAsFallback | ( | $a_status | ) |
Definition at line 51 of file class.ilAccountMail.php.
|
private |
Definition at line 41 of file class.ilAccountMail.php.
Referenced by setAttachConfiguredFiles(), and shouldAttachConfiguredFiles().
|
private |
Definition at line 38 of file class.ilAccountMail.php.
|
private |
Definition at line 36 of file class.ilAccountMail.php.
Referenced by areLangVariablesUsedAsFallback().
ilAccountMail::$target = "" |
Definition at line 34 of file class.ilAccountMail.php.
Referenced by getTarget().
ilAccountMail::$u_password = "" |
Definition at line 20 of file class.ilAccountMail.php.
Referenced by getUserPassword().
ilAccountMail::$user = "" |
Definition at line 27 of file class.ilAccountMail.php.
Referenced by addAttachments(), and getUser().