ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilMailOptions this class handles user mails. More...
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().
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, array, and settings().
ilMailOptions::getCronjobNotification | ( | ) |
Definition at line 239 of file class.ilMailOptions.php.
References $cronjob_notification.
Referenced by updateOptions().
|
static |
ilObjUser | $user | |
ilMailOptions | $mail_options |
Definition at line 320 of file class.ilMailOptions.php.
References ilObject\getId().
Referenced by ilMail\distributeMail(), and ilObjUserGUI\showUpperIcon().
|
static |
int | $user_id | |
ilMailOptions | NULL | $mail_options |
Definition at line 334 of file class.ilMailOptions.php.
References $user_id.
Referenced by ilMailSummaryNotification\__construct().
ilMailOptions::getIncomingType | ( | ) |
Definition at line 199 of file class.ilMailOptions.php.
References $incoming_type.
Referenced by updateOptions().
ilMailOptions::getLinebreak | ( | ) |
Definition at line 183 of file class.ilMailOptions.php.
References $linebreak.
Referenced by updateOptions().
ilMailOptions::getMailAddressOption | ( | ) |
Definition at line 247 of file class.ilMailOptions.php.
References $mail_address_option.
Referenced by lookupExternalEmails(), and updateOptions().
ilMailOptions::getSignature | ( | ) |
Definition at line 191 of file class.ilMailOptions.php.
References $signature.
Referenced by updateOptions().
|
staticprotected |
ilObjUser | $user | |
ilMailOptions | $mail_options |
Definition at line 278 of file class.ilMailOptions.php.
References array, ilObjUser\getEmail(), getMailAddressOption(), and ilObjUser\getSecondEmail().
|
staticprotected |
|
protected |
Definition at line 123 of file class.ilMailOptions.php.
References $res, $row, array, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by __construct().
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, array, getCronjobNotification(), getIncomingType(), getLinebreak(), getMailAddressOption(), getSignature(), and settings().
|
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().
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(), 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 |
const ilMailOptions::SECOND_EMAIL = 4 |
Definition at line 17 of file class.ilMailOptions.php.
Referenced by ilIncomingMailInputGUI\addSubOptions(), and ilMailTransportSettings\adjust().