ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Data Fields | |
final const int | INCOMING_LOCAL = 0 |
final const int | INCOMING_EMAIL = 1 |
final const int | INCOMING_BOTH = 2 |
final const int | FIRST_EMAIL = 3 |
final const int | SECOND_EMAIL = 4 |
final const int | BOTH_EMAIL = 5 |
final const bool | ABSENCE_STATUS_PRESENT = false |
final const bool | ABSENCE_STATUS_ABSENT = true |
Protected Member Functions | |
read () | |
Protected Attributes | |
ILIAS | $ilias |
ilDBInterface | $db |
ilSetting | $settings |
string | $table_mail_options = 'mail_options' |
string | $signature = '' |
bool | $is_cron_notification_enabled = false |
int | $incoming_type = self::INCOMING_LOCAL |
int | $default_incoming_type = self::INCOMING_LOCAL |
int | $email_address_mode = self::FIRST_EMAIL |
int | $default_email_address_mode = self::FIRST_EMAIL |
ilMailTransportSettings | $mail_transport_settings |
string | $first_mail_address = '' |
string | $second_mail_address = '' |
bool | $absence_status = self::ABSENCE_STATUS_PRESENT |
int | $absent_from = 0 |
int | $absent_until = 0 |
string | $absence_auto_responder_body = '' |
string | $absence_auto_responder_subject = '' |
ClockInterface | $clock_service |
Static Private Member Functions | |
static | lookupNotificationSetting (int $usr_id) |
Definition at line 24 of file class.ilMailOptions.php.
ilMailOptions::__construct | ( | protected int | $usr_id, |
?ilMailTransportSettings | $mail_transport_settings = null , |
||
?ClockInterface | $clock_service = null , |
||
?ilSetting | $settings = null , |
||
?ilDBInterface | $db = null |
||
) |
Definition at line 55 of file class.ilMailOptions.php.
References $default_email_address_mode, $default_incoming_type, $DIC, ILIAS\Repository\int(), read(), and ILIAS\Repository\settings().
ilMailOptions::createMailOptionsEntry | ( | ) |
create entry in table_mail_options for a new user this method should only be called from createUser()
Definition at line 92 of file class.ilMailOptions.php.
ilMailOptions::getAbsenceAutoresponderBody | ( | ) |
Definition at line 322 of file class.ilMailOptions.php.
References $absence_auto_responder_body.
Referenced by updateOptions().
ilMailOptions::getAbsenceAutoresponderSubject | ( | ) |
Definition at line 362 of file class.ilMailOptions.php.
References $absence_auto_responder_subject.
Referenced by updateOptions().
ilMailOptions::getAbsenceStatus | ( | ) |
Definition at line 332 of file class.ilMailOptions.php.
References $absence_status.
Referenced by isAbsent(), and updateOptions().
ilMailOptions::getAbsentFrom | ( | ) |
Definition at line 342 of file class.ilMailOptions.php.
References $absent_from.
Referenced by isAbsent(), and updateOptions().
ilMailOptions::getAbsentUntil | ( | ) |
Definition at line 352 of file class.ilMailOptions.php.
References $absent_until.
Referenced by isAbsent(), and updateOptions().
ilMailOptions::getEmailAddressMode | ( | ) |
Definition at line 250 of file class.ilMailOptions.php.
References $email_address_mode.
Referenced by getExternalEmailAddresses(), and updateOptions().
ilMailOptions::getExternalEmailAddresses | ( | ) |
Definition at line 281 of file class.ilMailOptions.php.
References $first_mail_address, $second_mail_address, and getEmailAddressMode().
ilMailOptions::getIncomingType | ( | ) |
Definition at line 225 of file class.ilMailOptions.php.
References $incoming_type.
Referenced by updateOptions().
ilMailOptions::getSignature | ( | ) |
Definition at line 220 of file class.ilMailOptions.php.
References $signature.
Referenced by updateOptions().
ilMailOptions::getUsrId | ( | ) |
Definition at line 260 of file class.ilMailOptions.php.
ilMailOptions::isAbsent | ( | ) |
Definition at line 367 of file class.ilMailOptions.php.
References getAbsenceStatus(), getAbsentFrom(), and getAbsentUntil().
Referenced by ILIAS\Mail\Autoresponder\AutoresponderServiceImpl\enqueueAutoresponderIfEnabled().
ilMailOptions::isCronJobNotificationEnabled | ( | ) |
Definition at line 245 of file class.ilMailOptions.php.
References $is_cron_notification_enabled.
Referenced by updateOptions().
|
staticprivate |
ilMailOptions::mayManageInvididualSettings | ( | ) |
Definition at line 122 of file class.ilMailOptions.php.
References ILIAS\Repository\settings().
Referenced by mayModifyIndividualTransportSettings(), and read().
ilMailOptions::mayModifyIndividualTransportSettings | ( | ) |
Definition at line 108 of file class.ilMailOptions.php.
References mayManageInvididualSettings(), maySeeIndividualTransportSettings(), and ILIAS\Repository\settings().
Referenced by read().
ilMailOptions::maySeeIndividualTransportSettings | ( | ) |
Definition at line 117 of file class.ilMailOptions.php.
References ILIAS\Repository\settings().
Referenced by mayModifyIndividualTransportSettings().
|
protected |
Definition at line 127 of file class.ilMailOptions.php.
References $res, ILIAS\Repository\int(), mayManageInvididualSettings(), mayModifyIndividualTransportSettings(), null, setAbsenceAutoresponderBody(), setAbsenceAutoresponderSubject(), setAbsenceStatus(), setAbsentFrom(), and setAbsentUntil().
Referenced by __construct().
ilMailOptions::setAbsenceAutoresponderBody | ( | string | $absence_auto_responder_body | ) |
Definition at line 317 of file class.ilMailOptions.php.
References $absence_auto_responder_body.
Referenced by read().
ilMailOptions::setAbsenceAutoresponderSubject | ( | string | $absence_auto_responder_subject | ) |
Definition at line 357 of file class.ilMailOptions.php.
References $absence_auto_responder_subject.
Referenced by read().
ilMailOptions::setAbsenceStatus | ( | bool | $absence_status | ) |
Definition at line 327 of file class.ilMailOptions.php.
References $absence_status.
Referenced by read().
ilMailOptions::setAbsentFrom | ( | int | $absent_from | ) |
Definition at line 337 of file class.ilMailOptions.php.
References $absent_from.
Referenced by read().
ilMailOptions::setAbsentUntil | ( | int | $absent_until | ) |
Definition at line 347 of file class.ilMailOptions.php.
References $absent_until.
Referenced by read().
ilMailOptions::setEmailAddressmode | ( | int | $email_address_mode | ) |
ilMailOptions::setIncomingType | ( | int | $incoming_type | ) |
ilMailOptions::setIsCronJobNotificationStatus | ( | bool | $is_cron_notification_enabled | ) |
Definition at line 240 of file class.ilMailOptions.php.
References $is_cron_notification_enabled.
ilMailOptions::setSignature | ( | string | $signature | ) |
ilMailOptions::updateOptions | ( | ) |
Definition at line 191 of file class.ilMailOptions.php.
References $data, getAbsenceAutoresponderBody(), getAbsenceAutoresponderSubject(), getAbsenceStatus(), getAbsentFrom(), getAbsentUntil(), getEmailAddressMode(), getIncomingType(), getSignature(), ILIAS\Repository\int(), isCronJobNotificationEnabled(), and ILIAS\Repository\settings().
|
protected |
Definition at line 51 of file class.ilMailOptions.php.
Referenced by getAbsenceAutoresponderBody(), and setAbsenceAutoresponderBody().
|
protected |
Definition at line 52 of file class.ilMailOptions.php.
Referenced by getAbsenceAutoresponderSubject(), and setAbsenceAutoresponderSubject().
|
protected |
Definition at line 48 of file class.ilMailOptions.php.
Referenced by getAbsenceStatus(), and setAbsenceStatus().
|
protected |
Definition at line 49 of file class.ilMailOptions.php.
Referenced by getAbsentFrom(), and setAbsentFrom().
|
protected |
Definition at line 50 of file class.ilMailOptions.php.
Referenced by getAbsentUntil(), and setAbsentUntil().
|
protected |
Definition at line 53 of file class.ilMailOptions.php.
|
protected |
Definition at line 36 of file class.ilMailOptions.php.
|
protected |
Definition at line 44 of file class.ilMailOptions.php.
Referenced by __construct().
|
protected |
Definition at line 42 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 46 of file class.ilMailOptions.php.
Referenced by getExternalEmailAddresses().
|
protected |
Definition at line 35 of file class.ilMailOptions.php.
|
protected |
Definition at line 41 of file class.ilMailOptions.php.
Referenced by getIncomingType(), and setIncomingType().
|
protected |
Definition at line 40 of file class.ilMailOptions.php.
Referenced by isCronJobNotificationEnabled(), and setIsCronJobNotificationStatus().
|
protected |
Definition at line 45 of file class.ilMailOptions.php.
|
protected |
Definition at line 47 of file class.ilMailOptions.php.
Referenced by getExternalEmailAddresses().
|
protected |
Definition at line 37 of file class.ilMailOptions.php.
|
protected |
Definition at line 39 of file class.ilMailOptions.php.
Referenced by getSignature(), and setSignature().
|
protected |
Definition at line 38 of file class.ilMailOptions.php.
final const bool ilMailOptions::ABSENCE_STATUS_ABSENT = true |
Definition at line 33 of file class.ilMailOptions.php.
final const bool ilMailOptions::ABSENCE_STATUS_PRESENT = false |
Definition at line 32 of file class.ilMailOptions.php.
final const int ilMailOptions::BOTH_EMAIL = 5 |
Definition at line 31 of file class.ilMailOptions.php.
Referenced by ilIncomingMailInputGUI\addSubOptions(), and ilMailAppEventListener\handle().
final const int ilMailOptions::FIRST_EMAIL = 3 |
Definition at line 29 of file class.ilMailOptions.php.
Referenced by ilIncomingMailInputGUI\addSubOptions(), ilMailTransportSettings\adjust(), ilMailAppEventListener\handle(), ilObjMailGUI\populateGeneralSettingsForm(), and ilObjMailGUI\saveObject().
final const int ilMailOptions::INCOMING_BOTH = 2 |
Definition at line 28 of file class.ilMailOptions.php.
Referenced by ilIncomingMailInputGUI\addSubOptions(), ilMailOptionsFormGUI\save(), ilObjMailGUI\saveObject(), and ILIAS\Mail\Recipient\userWantsToReceiveExternalMails().
final const int ilMailOptions::INCOMING_EMAIL = 1 |
Definition at line 27 of file class.ilMailOptions.php.
Referenced by ilIncomingMailInputGUI\addSubOptions(), ILIAS\Mail\Recipient\onlyToExternalMailAddress(), ilMailOptionsFormGUI\save(), ilObjMailGUI\saveObject(), ilMailTest\testExternalMailDeliveryWorksAsExpected(), and ILIAS\Mail\Recipient\userWantsToReceiveExternalMails().
final const int ilMailOptions::INCOMING_LOCAL = 0 |
Definition at line 26 of file class.ilMailOptions.php.
Referenced by ilIncomingMailInputGUI\addSubOptions(), ilMailTransportSettings\adjust(), ilMailAddressTypeHelperImpl\receivesInternalMailsOnly(), ilAuthProviderECS\resetMailOptions(), and ilMailOptionsTest\testConstructor().
final const int ilMailOptions::SECOND_EMAIL = 4 |
Definition at line 30 of file class.ilMailOptions.php.
Referenced by ilIncomingMailInputGUI\addSubOptions(), ilMailTransportSettings\adjust(), and ilMailAppEventListener\handle().