ILIAS
eassessment Revision 61809
|
Class ilAccountMail. More...
Public Member Functions | |
ilAccountMail () | |
constructor public | |
useLangVariablesAsFallback ($a_status) | |
areLangVariablesUsedAsFallback () | |
setUserPassword ($a_pwd) | |
set user password | |
getUserPassword () | |
get user password | |
setUser (&$a_user) | |
Set user. | |
& | getUser () |
get user object | |
setTarget ($a_target) | |
set repository item target | |
getTarget () | |
get target | |
reset () | |
reset all values | |
readAccountMail ($a_lang) | |
get new account mail array (including subject and message body) | |
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. | |
replacePlaceholders ($a_string, &$a_user, $a_amail, $a_lang) |
Data Fields | |
$u_password = "" | |
$user = "" | |
$target = "" |
Private Attributes | |
$lang_variables_as_fallback = false |
Class ilAccountMail.
Sends e-mail to newly created accounts.
Definition at line 33 of file class.ilAccountMail.php.
ilAccountMail::areLangVariablesUsedAsFallback | ( | ) |
Definition at line 72 of file class.ilAccountMail.php.
References $lang_variables_as_fallback.
Referenced by send().
ilAccountMail::getTarget | ( | ) |
get target
public
Definition at line 139 of file class.ilAccountMail.php.
References $target.
& ilAccountMail::getUser | ( | ) |
get user object
public
Definition at line 117 of file class.ilAccountMail.php.
References $user.
Referenced by send().
ilAccountMail::getUserPassword | ( | ) |
get user password
public
Definition at line 94 of file class.ilAccountMail.php.
References $u_password.
Referenced by replacePlaceholders().
ilAccountMail::ilAccountMail | ( | ) |
ilAccountMail::readAccountMail | ( | $a_lang | ) |
get new account mail array (including subject and message body)
Definition at line 157 of file class.ilAccountMail.php.
References ilObjUserFolder\_lookupNewAccountMail().
Referenced by send().
ilAccountMail::replacePlaceholders | ( | $a_string, | |
& | $a_user, | ||
$a_amail, | |||
$a_lang | |||
) |
Definition at line 249 of file class.ilAccountMail.php.
References $_GET, $ilSetting, $type, ilLanguage\_lookupEntry(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), and getUserPassword().
Referenced by send().
ilAccountMail::reset | ( | ) |
reset all values
Definition at line 147 of file class.ilAccountMail.php.
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. public
object | ilUser |
Definition at line 178 of file class.ilAccountMail.php.
References $ilSetting, $lang, $user, areLangVariablesUsedAsFallback(), getUser(), readAccountMail(), and replacePlaceholders().
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 128 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.
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::useLangVariablesAsFallback | ( | $a_status | ) |
Definition at line 67 of file class.ilAccountMail.php.
|
private |
Definition at line 56 of file class.ilAccountMail.php.
Referenced by areLangVariablesUsedAsFallback().
ilAccountMail::$target = "" |
Definition at line 54 of file class.ilAccountMail.php.
Referenced by getTarget().
ilAccountMail::$u_password = "" |
Definition at line 40 of file class.ilAccountMail.php.
Referenced by getUserPassword().
ilAccountMail::$user = "" |
Definition at line 47 of file class.ilAccountMail.php.