|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilAccountRegistrationMail. More...
Inheritance diagram for ilAccountRegistrationMail:
Collaboration diagram for ilAccountRegistrationMail: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_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, ILIAS\GlobalScreen\Provider\__construct(), and settings().
Here is the call graph for this function:| ilAccountRegistrationMail::getMode | ( | ) |
Definition at line 43 of file class.ilAccountRegistrationMail.php.
References $mode.
Referenced by sendLanguageVariableBasedAccountMail().
Here is the caller graph for this function:
|
private |
| $mailData |
Definition at line 74 of file class.ilAccountRegistrationMail.php.
Referenced by trySendingUserDefinedAccountMail().
Here is the caller graph for this function:| ilAccountRegistrationMail::send | ( | ilObjUser | $user, |
$rawPassword = '', |
|||
$usedRegistrationCode = false |
|||
| ) |
| ilObjUser | $user | |
| string | $rawPassword | |
| bool | $usedRegistrationCode |
Definition at line 257 of file class.ilAccountRegistrationMail.php.
References sendLanguageVariableBasedAccountMail(), and trySendingUserDefinedAccountMail().
Here is the call graph for this function:
|
private |
| ilObjUser | $user | |
| string | $rawPassword | |
| bool | $usedRegistrationCode |
Definition at line 188 of file class.ilAccountRegistrationMail.php.
References ilMail\_getInstallationSignature(), ilMailNotification\appendBody(), CLIENT_ID, ilObjUser\getEmail(), ilObjUser\getFullname(), ilObject\getId(), ilObjUser\getLanguage(), ilObjUser\getLogin(), getMode(), IL_REG_APPROVE, ilMimeMailNotification\initLanguageByIso2Code(), language(), ilMimeMailNotification\sendMimeMail(), ilMailNotification\setBody(), ilMailNotification\setSubject(), and settings().
Referenced by send().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| ilObjUser | $user | |
| string | $rawPassword |
Definition at line 91 of file class.ilAccountRegistrationMail.php.
References ilObjUserFolder\_lookupNewAccountMail(), ilObject\getId(), ilObjUser\getLanguage(), ilObjUser\getLogin(), isEmptyMailConfigurationData(), language(), settings(), and USER_FOLDER_ID.
Referenced by send().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAccountRegistrationMail::withDirectRegistrationMode | ( | ) |
Definition at line 51 of file class.ilAccountRegistrationMail.php.
References MODE_DIRECT_REGISTRATION.
| ilAccountRegistrationMail::withEmailConfirmationRegistrationMode | ( | ) |
Definition at line 62 of file class.ilAccountRegistrationMail.php.
References MODE_REGISTRATION_WITH_EMAIL_CONFIRMATION.
|
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.
Referenced by withDirectRegistrationMode().
| const ilAccountRegistrationMail::MODE_REGISTRATION_WITH_EMAIL_CONFIRMATION = 2 |
Definition at line 11 of file class.ilAccountRegistrationMail.php.
Referenced by withEmailConfirmationRegistrationMode().