|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilMailOptions this class handles user mails. More...
Collaboration diagram for ilMailOptions:Public Member Functions | |
| __construct ($a_user_id, 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 ($linebreak) | |
| setSignature ($signature) | |
| setIncomingType ($incoming_type) | |
| setCronjobNotification ($cronjob_notification) | |
| getCronjobNotification () | |
| getMailAddressOption () | |
| setMailAddressOption ($mail_address_option) | |
Static Public Member Functions | |
| static | getExternalEmailsByUser (ilObjUser $user, ilMailOptions $mail_options=null) |
| static | getExternalEmailsByUserId ($user_id, ilMailOptions $mail_options=null) |
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 () | |
Static Protected Member Functions | |
| static | lookupNotificationSetting ($usr_id) |
| static | lookupExternalEmails (ilObjUser $user, ilMailOptions $mail_options) |
Protected Attributes | |
| $ilias | |
| $db | |
| $user_id | |
| $settings | |
| $table_mail_options = 'mail_options' | |
| $linebreak | |
| $signature | |
| $cronjob_notification | |
| $incoming_type = self::INCOMING_LOCAL | |
| $mail_address_option = self::FIRST_EMAIL | |
Private Attributes | |
| $mailTransportSettings | |
Class ilMailOptions this class handles user mails.
Definition at line 10 of file class.ilMailOptions.php.
| ilMailOptions::__construct | ( | $a_user_id, | |
| ilMailTransportSettings | $mailTransportSettings = null |
||
| ) |
| int | $a_user_id | |
| ilMailTransportSettings | null | $mailTransportSettings |
Definition at line 82 of file class.ilMailOptions.php.
References $DIC, $mailTransportSettings, 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 103 of file class.ilMailOptions.php.
References $mail_address_option, FIRST_EMAIL, INCOMING_LOCAL, and settings().
Here is the call graph for this function:| ilMailOptions::getCronjobNotification | ( | ) |
Definition at line 239 of file class.ilMailOptions.php.
References $cronjob_notification.
Referenced by updateOptions().
Here is the caller graph for this function:
|
static |
| ilObjUser | $user | |
| ilMailOptions | $mail_options |
Definition at line 320 of file class.ilMailOptions.php.
References ilObject\getId(), and lookupExternalEmails().
Referenced by ilMail\distributeMail(), and getExternalEmailsByUserId().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| int | $user_id | |
| ilMailOptions | NULL | $mail_options |
Definition at line 334 of file class.ilMailOptions.php.
References $user_id, and getExternalEmailsByUser().
Here is the call graph for this function:| ilMailOptions::getIncomingType | ( | ) |
Definition at line 199 of file class.ilMailOptions.php.
References $incoming_type.
Referenced by updateOptions().
Here is the caller graph for this function:| ilMailOptions::getLinebreak | ( | ) |
Definition at line 183 of file class.ilMailOptions.php.
References $linebreak.
Referenced by updateOptions().
Here is the caller graph for this function:| ilMailOptions::getMailAddressOption | ( | ) |
Definition at line 247 of file class.ilMailOptions.php.
References $mail_address_option.
Referenced by lookupExternalEmails(), and updateOptions().
Here is the caller graph for this function:| ilMailOptions::getSignature | ( | ) |
Definition at line 191 of file class.ilMailOptions.php.
References $signature.
Referenced by updateOptions().
Here is the caller graph for this function:
|
staticprotected |
| ilObjUser | $user | |
| ilMailOptions | $mail_options |
Definition at line 278 of file class.ilMailOptions.php.
References BOTH_EMAIL, FIRST_EMAIL, ilObjUser\getEmail(), getMailAddressOption(), ilObjUser\getSecondEmail(), and SECOND_EMAIL.
Referenced by getExternalEmailsByUser().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprotected |
| int | $usr_id |
Definition at line 264 of file class.ilMailOptions.php.
|
protected |
Definition at line 123 of file class.ilMailOptions.php.
References $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by __construct().
Here is the caller graph for this function:| ilMailOptions::setCronjobNotification | ( | $cronjob_notification | ) |
Definition at line 231 of file class.ilMailOptions.php.
References $cronjob_notification.
| ilMailOptions::setIncomingType | ( | $incoming_type | ) |
| int | $incoming_type |
Definition at line 223 of file class.ilMailOptions.php.
References $incoming_type.
| ilMailOptions::setLinebreak | ( | $linebreak | ) |
| int | $linebreak |
Definition at line 207 of file class.ilMailOptions.php.
References $linebreak.
| ilMailOptions::setMailAddressOption | ( | $mail_address_option | ) |
| int | $mail_address_option |
Definition at line 255 of file class.ilMailOptions.php.
References $mail_address_option.
| ilMailOptions::setSignature | ( | $signature | ) |
| string | $signature |
Definition at line 215 of file class.ilMailOptions.php.
References $signature.
| ilMailOptions::updateOptions | ( | ) |
Definition at line 156 of file class.ilMailOptions.php.
References $data, getCronjobNotification(), getIncomingType(), getLinebreak(), getMailAddressOption(), getSignature(), and settings().
Here is the call graph for this function:
|
protected |
Definition at line 60 of file class.ilMailOptions.php.
Referenced by getCronjobNotification(), and setCronjobNotification().
|
protected |
Definition at line 30 of file class.ilMailOptions.php.
|
protected |
Definition at line 25 of file class.ilMailOptions.php.
|
protected |
Definition at line 65 of file class.ilMailOptions.php.
Referenced by getIncomingType(), and setIncomingType().
|
protected |
Definition at line 50 of file class.ilMailOptions.php.
Referenced by getLinebreak(), and setLinebreak().
|
protected |
Definition at line 70 of file class.ilMailOptions.php.
Referenced by createMailOptionsEntry(), getMailAddressOption(), and setMailAddressOption().
|
private |
Definition at line 76 of file class.ilMailOptions.php.
Referenced by __construct().
|
protected |
Definition at line 40 of file class.ilMailOptions.php.
|
protected |
Definition at line 55 of file class.ilMailOptions.php.
Referenced by getSignature(), and setSignature().
|
protected |
Definition at line 45 of file class.ilMailOptions.php.
|
protected |
Definition at line 35 of file class.ilMailOptions.php.
Referenced by getExternalEmailsByUserId().
| const ilMailOptions::BOTH_EMAIL = 5 |
Definition at line 18 of file class.ilMailOptions.php.
Referenced by ilIncomingMailInputGUI\addSubOptions(), and lookupExternalEmails().
| 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(), createMailOptionsEntry(), lookupExternalEmails(), ilObjMailGUI\populateGeneralSettingsForm(), and ilObjMailGUI\saveObject().
| const ilMailOptions::INCOMING_BOTH = 2 |
Definition at line 14 of file class.ilMailOptions.php.
Referenced by ilIncomingMailInputGUI\addSubOptions(), ilMail\distributeMail(), ilMailOptionsFormGUI\save(), and ilObjMailGUI\saveObject().
| const ilMailOptions::INCOMING_EMAIL = 1 |
Definition at line 13 of file class.ilMailOptions.php.
Referenced by ilIncomingMailInputGUI\addSubOptions(), ilMail\distributeMail(), ilMailOptionsFormGUI\save(), and ilObjMailGUI\saveObject().
| const ilMailOptions::INCOMING_LOCAL = 0 |
Definition at line 12 of file class.ilMailOptions.php.
Referenced by ilIncomingMailInputGUI\addSubOptions(), ilMailTransportSettings\adjust(), createMailOptionsEntry(), ilMailLoginOrEmailAddressAddressType\receivesInternalMailsOnly(), ilAuthContainerECS\resetMailOptions(), and ilAuthProviderECS\resetMailOptions().
| const ilMailOptions::SECOND_EMAIL = 4 |
Definition at line 17 of file class.ilMailOptions.php.
Referenced by ilIncomingMailInputGUI\addSubOptions(), ilMailTransportSettings\adjust(), and lookupExternalEmails().