ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Class ilMailOptions this class handles user mails. More...
Public Member Functions | |
__construct (int $usrId, ilMailTransportSettings $mailTransportSettings=null) | |
createMailOptionsEntry () | |
create entry in table_mail_options for a new user this method should only be called from createUser() More... | |
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 () | |
Protected Attributes | |
$ilias | |
$db | |
$usrId = 0 | |
$settings | |
$table_mail_options = 'mail_options' | |
$linebreak = 0 | |
$signature = '' | |
$isCronJobNotificationEnabled = false | |
$incomingType = self::INCOMING_LOCAL | |
$emailAddressMode = self::FIRST_EMAIL | |
$firstEmailAddress = '' | |
$secondEmailAddress = '' | |
Static Private Member Functions | |
static | lookupNotificationSetting (int $usrId) |
Private Attributes | |
$mailTransportSettings | |
Class ilMailOptions this class handles user mails.
Definition at line 10 of file class.ilMailOptions.php.
ilMailOptions::__construct | ( | int | $usrId, |
ilMailTransportSettings | $mailTransportSettings = null |
||
) |
int | $usrId | |
ilMailTransportSettings | null | $mailTransportSettings |
Definition at line 53 of file class.ilMailOptions.php.
References $DIC, $mailTransportSettings, $usrId, 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 74 of file class.ilMailOptions.php.
References isCronJobNotificationEnabled(), and settings().
ilMailOptions::getEmailAddressMode | ( | ) |
Definition at line 242 of file class.ilMailOptions.php.
References $emailAddressMode.
Referenced by getExternalEmailAddresses(), and updateOptions().
ilMailOptions::getExternalEmailAddresses | ( | ) |
Definition at line 275 of file class.ilMailOptions.php.
References $firstEmailAddress, $secondEmailAddress, and getEmailAddressMode().
ilMailOptions::getIncomingType | ( | ) |
Definition at line 194 of file class.ilMailOptions.php.
References $incomingType.
Referenced by updateOptions().
ilMailOptions::getLinebreak | ( | ) |
Definition at line 178 of file class.ilMailOptions.php.
References $linebreak.
Referenced by updateOptions().
ilMailOptions::getSignature | ( | ) |
Definition at line 186 of file class.ilMailOptions.php.
References $signature.
Referenced by updateOptions().
ilMailOptions::isCronJobNotificationEnabled | ( | ) |
Definition at line 234 of file class.ilMailOptions.php.
References $isCronJobNotificationEnabled.
Referenced by createMailOptionsEntry(), read(), setIsCronJobNotificationStatus(), and updateOptions().
|
staticprivate |
int | $usrId |
Definition at line 259 of file class.ilMailOptions.php.
References $DIC.
|
protected |
Definition at line 105 of file class.ilMailOptions.php.
References $query, $res, if, and isCronJobNotificationEnabled().
Referenced by __construct().
ilMailOptions::setEmailAddressMode | ( | int | $emailAddressMode | ) |
int | $emailAddressMode |
Definition at line 250 of file class.ilMailOptions.php.
References $emailAddressMode.
ilMailOptions::setIncomingType | ( | int | $incomingType | ) |
int | $incomingType |
Definition at line 218 of file class.ilMailOptions.php.
References $incomingType.
ilMailOptions::setIsCronJobNotificationStatus | ( | bool | $isCronJobNotificationEnabled | ) |
bool | $isCronJobNotificationEnabled |
Definition at line 226 of file class.ilMailOptions.php.
References $isCronJobNotificationEnabled, and isCronJobNotificationEnabled().
ilMailOptions::setLinebreak | ( | int | $linebreak | ) |
int | $linebreak |
Definition at line 202 of file class.ilMailOptions.php.
References $linebreak.
ilMailOptions::setSignature | ( | string | $signature | ) |
string | $signature |
Definition at line 210 of file class.ilMailOptions.php.
References $signature.
ilMailOptions::updateOptions | ( | ) |
Definition at line 151 of file class.ilMailOptions.php.
References $data, getEmailAddressMode(), getIncomingType(), getLinebreak(), getSignature(), isCronJobNotificationEnabled(), and settings().
|
protected |
Definition at line 25 of file class.ilMailOptions.php.
|
protected |
Definition at line 41 of file class.ilMailOptions.php.
Referenced by getEmailAddressMode(), and setEmailAddressMode().
|
protected |
Definition at line 45 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().
|
private |
Definition at line 43 of file class.ilMailOptions.php.
Referenced by __construct().
|
protected |
Definition at line 47 of file class.ilMailOptions.php.
Referenced by getExternalEmailAddresses().
|
protected |
Definition at line 29 of file class.ilMailOptions.php.
|
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.
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(), and ilAuthProviderECS\resetMailOptions().
const ilMailOptions::SECOND_EMAIL = 4 |
Definition at line 17 of file class.ilMailOptions.php.
Referenced by ilIncomingMailInputGUI\addSubOptions(), and ilMailTransportSettings\adjust().