| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
Class ilAccountRegistrationMail. More...
 Inheritance diagram for ilAccountRegistrationMail:
 Collaboration diagram for ilAccountRegistrationMail:Public Member Functions | |
| __construct (ilRegistrationSettings $settings, ilLanguage $lng, ilLogger $logger) | |
| 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 | $senderFactory | 
  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 | |
| ilRegistrationSettings | $settings | 
| ilLogger | $logger | 
| int | $mode = self::MODE_DIRECT_REGISTRATION | 
| string | $permanent_link_target = null | 
Additional Inherited Members | |
  Data Fields inherited from ilMailNotification | |
| final const | 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 25 of file class.ilAccountRegistrationMail.php.
| ilAccountRegistrationMail::__construct | ( | ilRegistrationSettings | $settings, | 
| ilLanguage | $lng, | ||
| ilLogger | $logger | ||
| ) | 
Definition at line 35 of file class.ilAccountRegistrationMail.php.
References $logger, $settings, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\logger(), and ILIAS\Repository\settings().
 Here is the call graph for this function:| ilAccountRegistrationMail::getMode | ( | ) | 
Definition at line 42 of file class.ilAccountRegistrationMail.php.
References $mode.
Referenced by sendLanguageVariableBasedAccountMail().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 74 of file class.ilAccountRegistrationMail.php.
Referenced by trySendingUserDefinedAccountMail().
 Here is the caller graph for this function:| ilAccountRegistrationMail::send | ( | ilObjUser | $user, | 
| string | $rawPassword = '',  | 
        ||
| bool | $usedRegistrationCode = false  | 
        ||
| ) | 
Definition at line 228 of file class.ilAccountRegistrationMail.php.
References sendLanguageVariableBasedAccountMail(), and trySendingUserDefinedAccountMail().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 163 of file class.ilAccountRegistrationMail.php.
References ilMail\_getInstallationSignature(), ilMailNotification\appendBody(), CLIENT_ID, ilObjUser\getEmail(), ilObjUser\getFullname(), ilObject\getId(), ilObjUser\getLanguage(), ilObjUser\getLogin(), getMode(), ilRegistrationSettings\IL_REG_APPROVE, ilMimeMailNotification\initLanguageByIso2Code(), ilMimeMailNotification\initMimeMail(), ILIAS\UI\examples\Symbol\Glyph\Language\language(), ILIAS\Repository\logger(), ilMimeMailNotification\sendMimeMail(), ilMailNotification\setBody(), ilMimeMailNotification\setSubject(), and ILIAS\Repository\settings().
Referenced by send().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 85 of file class.ilAccountRegistrationMail.php.
References ilObjUserFolder\_lookupNewAccountMail(), ilObject\getId(), ilObjUser\getLanguage(), ilObjUser\getLogin(), isEmptyMailConfigurationData(), ILIAS\UI\examples\Symbol\Glyph\Language\language(), ILIAS\Repository\logger(), ILIAS\Repository\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 60 of file class.ilAccountRegistrationMail.php.
| ilAccountRegistrationMail::withEmailConfirmationRegistrationMode | ( | ) | 
Definition at line 67 of file class.ilAccountRegistrationMail.php.
| ilAccountRegistrationMail::withPermanentLinkTarget | ( | string | $permanent_link_target | ) | 
Definition at line 47 of file class.ilAccountRegistrationMail.php.
References $permanent_link_target.
      
  | 
  private | 
Definition at line 31 of file class.ilAccountRegistrationMail.php.
Referenced by __construct().
      
  | 
  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().
      
  | 
  private | 
Definition at line 30 of file class.ilAccountRegistrationMail.php.
Referenced by __construct().
      
  | 
  protected | 
Definition at line 27 of file class.ilAccountRegistrationMail.php.
      
  | 
  protected | 
Definition at line 28 of file class.ilAccountRegistrationMail.php.