ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilMailOptions this class handles user mails. More...
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, isCronJobNotificationEnabled(), read(), and settings().
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().
ilMailOptions::getEmailAddressMode | ( | ) |
Definition at line 281 of file class.ilMailOptions.php.
References $emailAddressMode.
Referenced by getExternalEmailAddresses(), and updateOptions().
ilMailOptions::getExternalEmailAddresses | ( | ) |
Definition at line 314 of file class.ilMailOptions.php.
References $firstEmailAddress, $secondEmailAddress, and getEmailAddressMode().
ilMailOptions::getIncomingType | ( | ) |
Definition at line 233 of file class.ilMailOptions.php.
References $incomingType.
Referenced by updateOptions().
ilMailOptions::getLinebreak | ( | ) |
Definition at line 217 of file class.ilMailOptions.php.
References $linebreak.
Referenced by updateOptions().
ilMailOptions::getSignature | ( | ) |
Definition at line 225 of file class.ilMailOptions.php.
References $signature.
Referenced by updateOptions().
ilMailOptions::isCronJobNotificationEnabled | ( | ) |
Definition at line 273 of file class.ilMailOptions.php.
References $isCronJobNotificationEnabled.
Referenced by __construct(), createMailOptionsEntry(), read(), setIsCronJobNotificationStatus(), and updateOptions().
|
protected |
int | $usrId |
Definition at line 298 of file class.ilMailOptions.php.
References $DIC.
Referenced by updateOptions().
ilMailOptions::mayManageInvididualSettings | ( | ) |
Definition at line 131 of file class.ilMailOptions.php.
References settings().
Referenced by mayModifyIndividualTransportSettings(), and read().
ilMailOptions::mayModifyIndividualTransportSettings | ( | ) |
Definition at line 117 of file class.ilMailOptions.php.
References mayManageInvididualSettings(), maySeeIndividualTransportSettings(), and settings().
Referenced by read().
ilMailOptions::maySeeIndividualTransportSettings | ( | ) |
Definition at line 126 of file class.ilMailOptions.php.
References settings().
Referenced by mayModifyIndividualTransportSettings().
|
protected |
Definition at line 136 of file class.ilMailOptions.php.
References $query, $res, isCronJobNotificationEnabled(), mayManageInvididualSettings(), and mayModifyIndividualTransportSettings().
Referenced by __construct().
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().
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().
|
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().
const ilMailOptions::BOTH_EMAIL = 5 |
Definition at line 18 of file class.ilMailOptions.php.
Referenced by ilIncomingMailInputGUI\addSubOptions().
const ilMailOptions::DEFAULT_LINE_BREAK = 60 |
Definition at line 20 of file class.ilMailOptions.php.
Referenced by ilMailOptionsTest\testConstructor().
const ilMailOptions::FIRST_EMAIL = 3 |
Definition at line 16 of file class.ilMailOptions.php.
Referenced by ilIncomingMailInputGUI\addSubOptions(), ilMailTransportSettings\adjust(), ilObjMailGUI\populateGeneralSettingsForm(), 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 ilIncomingMailInputGUI\addSubOptions(), ilMailTransportSettings\adjust(), 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(), and ilMailTransportSettings\adjust().