|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Class ilAccountMail. More...
Collaboration diagram for ilAccountMail:Public Member Functions | |
| __construct () | |
| constructor @access 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().
Here is the caller graph for this function:
|
private |
Definition at line 180 of file class.ilAccountMail.php.
References addAttachment(), shouldAttachConfiguredFiles(), and USER_FOLDER_ID.
Here is the call graph for this function:| ilAccountMail::areLangVariablesUsedAsFallback | ( | ) |
Definition at line 56 of file class.ilAccountMail.php.
References $lang_variables_as_fallback.
| ilAccountMail::getTarget | ( | ) |
get target
@access public
Definition at line 147 of file class.ilAccountMail.php.
References $target.
| & ilAccountMail::getUser | ( | ) |
get user object
@access public
Definition at line 125 of file class.ilAccountMail.php.
References $user.
| ilAccountMail::getUserPassword | ( | ) |
get user password
@access public
Definition at line 94 of file class.ilAccountMail.php.
References $u_password.
Referenced by replacePlaceholders().
Here is the caller graph for this function:| 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().
Here is the call graph for this function:| ilAccountMail::replacePlaceholders | ( | $a_string, | |
| & | $a_user, | ||
| $a_amail, | |||
| $a_lang | |||
| ) |
Definition at line 288 of file class.ilAccountMail.php.
References $_GET, $ilSetting, $type, ilLanguage\_lookupEntry(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilDatePresentation\formatPeriod(), getUserPassword(), IL_CAL_UNIX, and ILIAS_HTTP_PATH.
Here is the call graph for this function:| ilAccountMail::reset | ( | ) |
reset all values
Definition at line 155 of file class.ilAccountMail.php.
References user().
Here is the call graph for this function:| 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
@access 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
@access public
| object | $a_user | user object |
Definition at line 106 of file class.ilAccountMail.php.
References ilObject\getId(), and user().
Here is the call graph for this function:| ilAccountMail::setUserPassword | ( | $a_pwd | ) |
set user password
@access 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().
Here is the caller graph for this function:| 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 getUser().