|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilMailOptions this class handles user mails. More...
Collaboration diagram for ilMailOptions:Public Member Functions | |
| __construct (int $usrId, ilMailTransportSettings $mailTransportSettings=null, ilSetting $settings=null, ilDBInterface $db=null) | |
| createMailOptionsEntry () | |
| create entry in table_mail_options for a new user this method should only be called from createUser() More... | |
| mayModifyIndividualTransportSettings () | |
| maySeeIndividualTransportSettings () | |
| mayManageInvididualSettings () | |
| updateOptions () | |
| getLinebreak () | |
| getSignature () | |
| getIncomingType () | |
| setLinebreak (int $linebreak) | |
| setSignature (string $signature) | |
| setIncomingType (int $incomingType) | |
| setIsCronJobNotificationStatus (bool $isCronJobNotificationEnabled) | |
| isCronJobNotificationEnabled () | |
| getEmailAddressMode () | |
| setEmailAddressMode (int $emailAddressMode) | |
| getExternalEmailAddresses () | |
Data Fields | |
| const | INCOMING_LOCAL = 0 |
| const | INCOMING_EMAIL = 1 |
| const | INCOMING_BOTH = 2 |
| const | FIRST_EMAIL = 3 |
| const | SECOND_EMAIL = 4 |
| const | BOTH_EMAIL = 5 |
| const | DEFAULT_LINE_BREAK = 60 |
Protected Member Functions | |
| read () | |
| lookupNotificationSetting (int $usrId) | |
Protected Attributes | |
| $ilias | |
| $db | |
| $usrId = 0 | |
| $settings | |
| $table_mail_options = 'mail_options' | |
| $linebreak = 0 | |
| $signature = '' | |
| $isCronJobNotificationEnabled = false | |
| $incomingType = self::INCOMING_LOCAL | |
| $default_incoming_type = self::INCOMING_LOCAL | |
| $emailAddressMode = self::FIRST_EMAIL | |
| $default_email_address_mode = self::FIRST_EMAIL | |
| $mailTransportSettings | |
| $firstEmailAddress = '' | |
| $secondEmailAddress = '' | |
Class ilMailOptions this class handles user mails.
Definition at line 10 of file class.ilMailOptions.php.
| ilMailOptions::__construct | ( | int | $usrId, |
| ilMailTransportSettings | $mailTransportSettings = null, |
||
| ilSetting | $settings = null, |
||
| ilDBInterface | $db = null |
||
| ) |
| int | $usrId | |
| ilMailTransportSettings | null | $mailTransportSettings |
Definition at line 57 of file class.ilMailOptions.php.
References $db, $default_email_address_mode, $default_incoming_type, $DIC, $mailTransportSettings, $settings, $usrId, DEFAULT_LINE_BREAK, FIRST_EMAIL, INCOMING_LOCAL, isCronJobNotificationEnabled(), read(), and settings().
Here is the call graph for this function:| ilMailOptions::createMailOptionsEntry | ( | ) |
create entry in table_mail_options for a new user this method should only be called from createUser()
Definition at line 100 of file class.ilMailOptions.php.
References isCronJobNotificationEnabled().
Here is the call graph for this function:| ilMailOptions::getEmailAddressMode | ( | ) |
Definition at line 281 of file class.ilMailOptions.php.
References $emailAddressMode.
Referenced by getExternalEmailAddresses(), and updateOptions().
Here is the caller graph for this function:| ilMailOptions::getExternalEmailAddresses | ( | ) |
Definition at line 314 of file class.ilMailOptions.php.
References $firstEmailAddress, $secondEmailAddress, BOTH_EMAIL, FIRST_EMAIL, getEmailAddressMode(), and SECOND_EMAIL.
Here is the call graph for this function:| ilMailOptions::getIncomingType | ( | ) |
Definition at line 233 of file class.ilMailOptions.php.
References $incomingType.
Referenced by updateOptions().
Here is the caller graph for this function:| ilMailOptions::getLinebreak | ( | ) |
Definition at line 217 of file class.ilMailOptions.php.
References $linebreak.
Referenced by updateOptions().
Here is the caller graph for this function:| ilMailOptions::getSignature | ( | ) |
Definition at line 225 of file class.ilMailOptions.php.
References $signature.
Referenced by updateOptions().
Here is the caller graph for this function:| ilMailOptions::isCronJobNotificationEnabled | ( | ) |
Definition at line 273 of file class.ilMailOptions.php.
References $isCronJobNotificationEnabled.
Referenced by __construct(), createMailOptionsEntry(), read(), setIsCronJobNotificationStatus(), and updateOptions().
Here is the caller graph for this function:
|
protected |
| int | $usrId |
Definition at line 298 of file class.ilMailOptions.php.
Referenced by updateOptions().
Here is the caller graph for this function:| ilMailOptions::mayManageInvididualSettings | ( | ) |
Definition at line 131 of file class.ilMailOptions.php.
References settings().
Referenced by mayModifyIndividualTransportSettings(), and read().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMailOptions::mayModifyIndividualTransportSettings | ( | ) |
Definition at line 117 of file class.ilMailOptions.php.
References mayManageInvididualSettings(), maySeeIndividualTransportSettings(), and settings().
Referenced by read().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMailOptions::maySeeIndividualTransportSettings | ( | ) |
Definition at line 126 of file class.ilMailOptions.php.
References settings().
Referenced by mayModifyIndividualTransportSettings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 136 of file class.ilMailOptions.php.
References $query, $res, FIRST_EMAIL, INCOMING_LOCAL, isCronJobNotificationEnabled(), mayManageInvididualSettings(), and mayModifyIndividualTransportSettings().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMailOptions::setEmailAddressMode | ( | int | $emailAddressMode | ) |
| int | $emailAddressMode |
Definition at line 289 of file class.ilMailOptions.php.
References $emailAddressMode.
| ilMailOptions::setIncomingType | ( | int | $incomingType | ) |
| int | $incomingType |
Definition at line 257 of file class.ilMailOptions.php.
References $incomingType.
| ilMailOptions::setIsCronJobNotificationStatus | ( | bool | $isCronJobNotificationEnabled | ) |
| bool | $isCronJobNotificationEnabled |
Definition at line 265 of file class.ilMailOptions.php.
References $isCronJobNotificationEnabled, and isCronJobNotificationEnabled().
Here is the call graph for this function:| ilMailOptions::setLinebreak | ( | int | $linebreak | ) |
| int | $linebreak |
Definition at line 241 of file class.ilMailOptions.php.
References $linebreak.
| ilMailOptions::setSignature | ( | string | $signature | ) |
| string | $signature |
Definition at line 249 of file class.ilMailOptions.php.
References $signature.
| ilMailOptions::updateOptions | ( | ) |
Definition at line 190 of file class.ilMailOptions.php.
References $data, getEmailAddressMode(), getIncomingType(), getLinebreak(), getSignature(), isCronJobNotificationEnabled(), lookupNotificationSetting(), and settings().
Here is the call graph for this function:
|
protected |
Definition at line 25 of file class.ilMailOptions.php.
Referenced by __construct().
|
protected |
Definition at line 45 of file class.ilMailOptions.php.
Referenced by __construct().
|
protected |
Definition at line 41 of file class.ilMailOptions.php.
Referenced by __construct().
|
protected |
Definition at line 43 of file class.ilMailOptions.php.
Referenced by getEmailAddressMode(), and setEmailAddressMode().
|
protected |
Definition at line 49 of file class.ilMailOptions.php.
Referenced by getExternalEmailAddresses().
|
protected |
Definition at line 23 of file class.ilMailOptions.php.
|
protected |
Definition at line 39 of file class.ilMailOptions.php.
Referenced by getIncomingType(), and setIncomingType().
|
protected |
Definition at line 37 of file class.ilMailOptions.php.
Referenced by isCronJobNotificationEnabled(), and setIsCronJobNotificationStatus().
|
protected |
Definition at line 33 of file class.ilMailOptions.php.
Referenced by getLinebreak(), and setLinebreak().
|
protected |
Definition at line 47 of file class.ilMailOptions.php.
Referenced by __construct().
|
protected |
Definition at line 51 of file class.ilMailOptions.php.
Referenced by getExternalEmailAddresses().
|
protected |
Definition at line 29 of file class.ilMailOptions.php.
Referenced by __construct().
|
protected |
Definition at line 35 of file class.ilMailOptions.php.
Referenced by getSignature(), and setSignature().
|
protected |
Definition at line 31 of file class.ilMailOptions.php.
|
protected |
Definition at line 27 of file class.ilMailOptions.php.
Referenced by __construct(), and lookupNotificationSetting().
| const ilMailOptions::BOTH_EMAIL = 5 |
Definition at line 18 of file class.ilMailOptions.php.
Referenced by ilIncomingMailInputGUI\addSubOptions(), and getExternalEmailAddresses().
| const ilMailOptions::DEFAULT_LINE_BREAK = 60 |
Definition at line 20 of file class.ilMailOptions.php.
Referenced by __construct(), and ilMailOptionsTest\testConstructor().
| const ilMailOptions::FIRST_EMAIL = 3 |
Definition at line 16 of file class.ilMailOptions.php.
Referenced by __construct(), ilIncomingMailInputGUI\addSubOptions(), ilMailTransportSettings\adjust(), getExternalEmailAddresses(), ilObjMailGUI\populateGeneralSettingsForm(), read(), and ilObjMailGUI\saveObject().
| const ilMailOptions::INCOMING_BOTH = 2 |
Definition at line 14 of file class.ilMailOptions.php.
Referenced by ilIncomingMailInputGUI\addSubOptions(), ilMailOptionsFormGUI\save(), ilObjMailGUI\saveObject(), and ilMail\sendChanneledMails().
| const ilMailOptions::INCOMING_EMAIL = 1 |
Definition at line 13 of file class.ilMailOptions.php.
Referenced by ilIncomingMailInputGUI\addSubOptions(), ilMailOptionsFormGUI\save(), ilObjMailGUI\saveObject(), ilMail\sendChanneledMails(), and ilMailTest\testExternalMailDeliveryToLocalRecipientsWorksAsExpected().
| const ilMailOptions::INCOMING_LOCAL = 0 |
Definition at line 12 of file class.ilMailOptions.php.
Referenced by __construct(), ilIncomingMailInputGUI\addSubOptions(), ilMailTransportSettings\adjust(), read(), ilMailAddressTypeHelperImpl\receivesInternalMailsOnly(), ilAuthProviderECS\resetMailOptions(), and ilMailOptionsTest\testConstructor().
| const ilMailOptions::SECOND_EMAIL = 4 |
Definition at line 17 of file class.ilMailOptions.php.
Referenced by ilIncomingMailInputGUI\addSubOptions(), ilMailTransportSettings\adjust(), and getExternalEmailAddresses().