ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilAccountRegistrationMail. More...
Public Member Functions | |
__construct (ilRegistrationSettings $settings, ilLanguage $lng, ilLogger $logger) | |
ilAccountRegistrationMail constructor. More... | |
getMode () | |
withDirectRegistrationMode () | |
withEmailConfirmationRegistrationMode () | |
send (ilObjUser $user, $rawPassword='', $usedRegistrationCode=false) | |
Public Member Functions inherited from ilMimeMailNotification | |
sendMimeMail ($a_rcp) | |
setCurrentRecipient ($current_recipient) | |
getCurrentRecipient () | |
setMimeMail ($mime_mail) | |
getMimeMail () | |
Public Member Functions inherited from ilMailNotification | |
__construct ($a_is_personal_workspace=false) | |
setType ($a_type) | |
Set notification type. More... | |
getType () | |
Get notification type. More... | |
setSender ($a_usr_id) | |
Set sender of mail. More... | |
getSender () | |
get sender of mail More... | |
setRecipients (array $a_rcp) | |
getRecipients () | |
get array of recipients More... | |
setAttachments ($a_att) | |
Set attachments. More... | |
getAttachments () | |
Get attachments. More... | |
setLangModules (array $a_modules) | |
Set lang modules. More... | |
getUserLanguage ($a_usr_id) | |
Get user language. More... | |
setRefId ($a_id) | |
getRefId () | |
getObjId () | |
setObjId ($a_obj_id) | |
getObjType () | |
Get object type. More... | |
setAdditionalInformation (array $a_info) | |
Additional information for creating notification mails. More... | |
getAdditionalInformation () | |
sendMail (array $a_rcp, $a_type, $a_parse_recipients=true) | |
getBlockBorder () | |
Get (ascii) block border. More... | |
Data Fields | |
const | MODE_DIRECT_REGISTRATION = 1 |
const | MODE_REGISTRATION_WITH_EMAIL_CONFIRMATION = 2 |
Data Fields inherited from ilMailNotification | |
const | SUBJECT_TITLE_LENGTH = 60 |
Private Member Functions | |
isEmptyMailConfigurationData ($mailData) | |
trySendingUserDefinedAccountMail (ilObjUser $user, $rawPassword) | |
sendLanguageVariableBasedAccountMail (ilObjUser $user, $rawPassword, $usedRegistrationCode) | |
Private Attributes | |
$settings | |
$lng | |
$logger | |
$mode = self::MODE_DIRECT_REGISTRATION | |
Additional Inherited Members | |
Protected Member Functions inherited from ilMimeMailNotification | |
initLanguageByIso2Code ($a_code='') | |
initLanguage ($a_usr_id) | |
Protected Member Functions inherited from ilMailNotification | |
setSubject ($a_subject) | |
getSubject () | |
setBody ($a_body) | |
appendBody ($a_body) | |
Append body text. More... | |
getBody () | |
initLanguage ($a_usr_id) | |
Init language. More... | |
initLanguageByIso2Code ($a_code='') | |
Init language by ISO2 code. More... | |
setLanguage ($a_language) | |
getLanguage () | |
getLanguageText ($a_keyword) | |
getObjectTitle ($a_shorten=false) | |
initMail () | |
getMail () | |
createPermanentLink ($a_params=array(), $a_append='') | |
userToString ($a_usr_id) | |
isRefIdAccessible ($a_user_id, $a_ref_id, $a_permission="read") | |
Check if ref id is accessible for user. More... | |
Protected Attributes inherited from ilMimeMailNotification | |
$mime_mail | |
$current_recipient | |
Protected Attributes inherited from ilMailNotification | |
$type = null | |
$sender = null | |
$mail = null | |
$subject = '' | |
$body = '' | |
$attachments = array() | |
$language = null | |
$lang_modules = array() | |
$recipients = array() | |
$ref_id = null | |
$obj_id = null | |
$obj_type = null | |
$additional_info = array() | |
$is_in_wsp | |
$wsp_tree | |
$wsp_access_handler | |
Class ilAccountRegistrationMail.
Definition at line 8 of file class.ilAccountRegistrationMail.php.
ilAccountRegistrationMail::__construct | ( | ilRegistrationSettings | $settings, |
ilLanguage | $lng, | ||
ilLogger | $logger | ||
) |
ilAccountRegistrationMail constructor.
ilRegistrationSettings | $settings | |
ilLanguage | $lng | |
ilLogger | $logger |
Definition at line 31 of file class.ilAccountRegistrationMail.php.
References $lng, $logger, $settings, and settings().
ilAccountRegistrationMail::getMode | ( | ) |
Definition at line 43 of file class.ilAccountRegistrationMail.php.
References $mode.
Referenced by sendLanguageVariableBasedAccountMail().
|
private |
$mailData |
Definition at line 74 of file class.ilAccountRegistrationMail.php.
Referenced by trySendingUserDefinedAccountMail().
ilAccountRegistrationMail::send | ( | ilObjUser | $user, |
$rawPassword = '' , |
|||
$usedRegistrationCode = false |
|||
) |
ilObjUser | $user | |
string | $rawPassword | |
bool | $usedRegistrationCode |
Definition at line 248 of file class.ilAccountRegistrationMail.php.
References sendLanguageVariableBasedAccountMail(), and trySendingUserDefinedAccountMail().
|
private |
ilObjUser | $user | |
string | $rawPassword | |
bool | $usedRegistrationCode |
Definition at line 188 of file class.ilAccountRegistrationMail.php.
References ilMail\_getInstallationSignature(), ilMailNotification\appendBody(), ilObjUser\getEmail(), ilObjUser\getFullname(), ilObject\getId(), ilObjUser\getLanguage(), ilObjUser\getLogin(), getMode(), IL_REG_APPROVE, ilMimeMailNotification\initLanguageByIso2Code(), ilMimeMailNotification\sendMimeMail(), ilMailNotification\setBody(), ilMailNotification\setSubject(), and settings().
Referenced by send().
|
private |
ilObjUser | $user | |
string | $rawPassword |
Definition at line 91 of file class.ilAccountRegistrationMail.php.
References ilObjUserFolder\_lookupNewAccountMail(), ilObject\getId(), ilObjUser\getLanguage(), ilObjUser\getLogin(), isEmptyMailConfigurationData(), settings(), and USER_FOLDER_ID.
Referenced by send().
ilAccountRegistrationMail::withDirectRegistrationMode | ( | ) |
Definition at line 51 of file class.ilAccountRegistrationMail.php.
ilAccountRegistrationMail::withEmailConfirmationRegistrationMode | ( | ) |
Definition at line 62 of file class.ilAccountRegistrationMail.php.
|
private |
Definition at line 17 of file class.ilAccountRegistrationMail.php.
Referenced by __construct().
|
private |
Definition at line 20 of file class.ilAccountRegistrationMail.php.
Referenced by __construct().
|
private |
Definition at line 23 of file class.ilAccountRegistrationMail.php.
Referenced by getMode().
|
private |
Definition at line 14 of file class.ilAccountRegistrationMail.php.
Referenced by __construct().
const ilAccountRegistrationMail::MODE_DIRECT_REGISTRATION = 1 |
Definition at line 10 of file class.ilAccountRegistrationMail.php.
const ilAccountRegistrationMail::MODE_REGISTRATION_WITH_EMAIL_CONFIRMATION = 2 |
Definition at line 11 of file class.ilAccountRegistrationMail.php.