|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Class ilAccountRegistrationMail. More...
Inheritance diagram for ilAccountRegistrationMail:
Collaboration diagram for ilAccountRegistrationMail:Public Member Functions | |
| __construct (private readonly ilRegistrationSettings $settings, private readonly ilLogger $logger, private readonly NewAccountMailRepository $account_mail_repository) | |
| getMode () | |
| withPermanentLinkTarget (string $permanent_link_target) | |
| withDirectRegistrationMode () | |
| withEmailConfirmationRegistrationMode () | |
| send (ilObjUser $user, string $rawPassword='', bool $usedRegistrationCode=false) | |
Public Member Functions inherited from ilMimeMailNotification | |
| __construct (bool $a_is_personal_workspace=false) | |
| sendMimeMail (string $a_rcp) | |
| setCurrentRecipient (string $current_recipient) | |
| getCurrentRecipient () | |
| setMimeMail (ilMimeMail $mime_mail) | |
| getMimeMail () | |
Public Member Functions inherited from ilMailNotification | |
| __construct (protected bool $is_in_wsp=false) | |
| setType (int $a_type) | |
| getType () | |
| setSender (int $a_usr_id) | |
| getSender () | |
| setRecipients (array $a_rcp) | |
| getRecipients () | |
| setAttachments (array $a_att) | |
| getAttachments () | |
| setLangModules (array $a_modules) | |
| getUserLanguage (int $a_usr_id) | |
| setRefId (int $a_id) | |
| getRefId () | |
| getObjId () | |
| setObjId (int $a_obj_id) | |
| getObjType () | |
| setAdditionalInformation (array $a_info) | |
| getAdditionalInformation () | |
| sendMail (array $a_rcp, bool $a_parse_recipients=true) | |
| getBlockBorder () | |
Protected Attributes | |
| const | MODE_DIRECT_REGISTRATION = 1 |
| const | MODE_REGISTRATION_WITH_EMAIL_CONFIRMATION = 2 |
Protected Attributes inherited from ilMimeMailNotification | |
| ilMimeMail | $mime_mail |
| string | $current_recipient |
| ilMailMimeSenderFactory | $sender_factory |
Protected Attributes inherited from ilMailNotification | |
| int | $type |
| int | $sender |
| ilMail | $mail = null |
| string | $subject = '' |
| string | $body = '' |
| array | $attachments = [] |
| ilLanguage | $language |
| array | $lang_modules = [] |
| array | $recipients = [] |
| int | $ref_id |
| int | $obj_id = 0 |
| string | $obj_type = '' |
| array | $additional_info = [] |
| ilWorkspaceTree | $wsp_tree |
| ilWorkspaceAccessHandler | $wsp_access_handler |
Private Member Functions | |
| isEmptyMailConfigurationData (array $mailData) | |
| trySendingUserDefinedAccountMail (ilObjUser $user, string $rawPassword) | |
| sendLanguageVariableBasedAccountMail (ilObjUser $user, string $rawPassword, bool $usedRegistrationCode) | |
Private Attributes | |
| int | $mode = self::MODE_DIRECT_REGISTRATION |
| string | $permanent_link_target = null |
Additional Inherited Members | |
Data Fields inherited from ilMailNotification | |
| final const int | SUBJECT_TITLE_LENGTH = 60 |
Protected Member Functions inherited from ilMimeMailNotification | |
| setSubject (string $a_subject) | |
| initMimeMail () | |
| initLanguageByIso2Code (string $a_code='') | |
| initLanguage (int $a_usr_id) | |
Protected Member Functions inherited from ilMailNotification | |
| setSubject (string $a_subject) | |
| getSubject () | |
| setBody (string $a_body) | |
| appendBody (string $a_body) | |
| getBody () | |
| initLanguage (int $a_usr_id) | |
| initLanguageByIso2Code (string $a_code='') | |
| setLanguage (ilLanguage $a_language) | |
| getLanguage () | |
| getLanguageText (string $a_keyword) | |
| getObjectTitle (bool $a_shorten=false) | |
| initMail () | |
| getMail () | |
| createPermanentLink (array $a_params=[], string $a_append='') | |
| userToString (int $a_usr_id) | |
| isRefIdAccessible (int $a_user_id, int $a_ref_id, string $a_permission='read') | |
Class ilAccountRegistrationMail.
Definition at line 27 of file class.ilAccountRegistrationMail.php.
| ilAccountRegistrationMail::__construct | ( | private readonly ilRegistrationSettings | $settings, |
| private readonly ilLogger | $logger, | ||
| private readonly NewAccountMailRepository | $account_mail_repository | ||
| ) |
Definition at line 35 of file class.ilAccountRegistrationMail.php.
References ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:| ilAccountRegistrationMail::getMode | ( | ) |
Definition at line 43 of file class.ilAccountRegistrationMail.php.
References $mode.
|
private |
Definition at line 75 of file class.ilAccountRegistrationMail.php.
| ilAccountRegistrationMail::send | ( | ilObjUser | $user, |
| string | $rawPassword = '', |
||
| bool | $usedRegistrationCode = false |
||
| ) |
Definition at line 191 of file class.ilAccountRegistrationMail.php.
|
private |
Definition at line 126 of file class.ilAccountRegistrationMail.php.
References ilObject\getId(), ilObjUser\getLogin(), and ILIAS\Repository\logger().
Here is the call graph for this function:
|
private |
Definition at line 86 of file class.ilAccountRegistrationMail.php.
References ilObject\getId(), ilObjUser\getLanguage(), ilObjUser\getLogin(), ILIAS\UI\examples\Symbol\Glyph\Language\language(), ILIAS\Repository\logger(), and ILIAS\Repository\settings().
Here is the call graph for this function:| ilAccountRegistrationMail::withDirectRegistrationMode | ( | ) |
Definition at line 61 of file class.ilAccountRegistrationMail.php.
References MODE_DIRECT_REGISTRATION.
| ilAccountRegistrationMail::withEmailConfirmationRegistrationMode | ( | ) |
Definition at line 68 of file class.ilAccountRegistrationMail.php.
References MODE_REGISTRATION_WITH_EMAIL_CONFIRMATION.
| ilAccountRegistrationMail::withPermanentLinkTarget | ( | string | $permanent_link_target | ) |
Definition at line 48 of file class.ilAccountRegistrationMail.php.
References $permanent_link_target.
|
private |
Definition at line 32 of file class.ilAccountRegistrationMail.php.
Referenced by getMode().
|
private |
Definition at line 33 of file class.ilAccountRegistrationMail.php.
Referenced by withPermanentLinkTarget().
|
protected |
Definition at line 29 of file class.ilAccountRegistrationMail.php.
Referenced by withDirectRegistrationMode().
|
protected |
Definition at line 30 of file class.ilAccountRegistrationMail.php.
Referenced by withEmailConfirmationRegistrationMode().