ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilAccountMail. More...
Public Member Functions | |
__construct () | |
constructor public More... | |
useLangVariablesAsFallback ($a_status) | |
areLangVariablesUsedAsFallback () | |
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 Attributes | |
$lang_variables_as_fallback = false | |
$attachments = array() | |
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 338 of file class.ilAccountMail.php.
ilAccountMail::areLangVariablesUsedAsFallback | ( | ) |
Definition at line 53 of file class.ilAccountMail.php.
References $lang_variables_as_fallback.
Referenced by readAccountMail().
ilAccountMail::getTarget | ( | ) |
get target
public
Definition at line 120 of file class.ilAccountMail.php.
References $target.
& ilAccountMail::getUser | ( | ) |
get user object
public
Definition at line 98 of file class.ilAccountMail.php.
References $user.
Referenced by readAccountMail().
ilAccountMail::getUserPassword | ( | ) |
get user password
public
Definition at line 75 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 138 of file class.ilAccountMail.php.
References $filename, $GLOBALS, $ilSetting, $lang, $user, ilObjUserFolder\_lookupNewAccountMail(), areLangVariablesUsedAsFallback(), ilDatePresentation\formatPeriod(), getUser(), IL_CAL_UNIX, and replacePlaceholders().
ilAccountMail::replacePlaceholders | ( | $a_string, | |
& | $a_user, | ||
$a_amail, | |||
$a_lang | |||
) |
Definition at line 239 of file class.ilAccountMail.php.
References $_GET, $ilSetting, $type, ilLanguage\_lookupEntry(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilDatePresentation\formatPeriod(), getUserPassword(), and IL_CAL_UNIX.
Referenced by readAccountMail().
ilAccountMail::reset | ( | ) |
reset all values
Definition at line 128 of file class.ilAccountMail.php.
References user().
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 109 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 87 of file class.ilAccountMail.php.
References user().
ilAccountMail::setUserPassword | ( | $a_pwd | ) |
set user password
public
string | $a_pwd | users password as plain text |
Definition at line 64 of file class.ilAccountMail.php.
ilAccountMail::useLangVariablesAsFallback | ( | $a_status | ) |
Definition at line 48 of file class.ilAccountMail.php.
|
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 getUser(), and readAccountMail().