ILIAS
Release_5_0_x_branch Revision 61816
|
Class UserMail this class handles user mails. More...
Public Member Functions | |
__construct ($a_user_id) | |
Constructor setup an mail object. | |
createMailOptionsEntry () | |
create entry in table_mail_options for a new user this method should only be called from createUser() public | |
getOptions () | |
get options of user and set variables $signature and $linebreak this method shouldn't bew called from outside use getSignature() and getLinebreak() private | |
updateOptions ($a_signature, $a_linebreak, $a_incoming_type, $a_cronjob_notification) | |
update user options | |
getLinebreak () | |
get linebreak of user public | |
getSignature () | |
get signature of user public | |
getIncomingType () | |
setCronjobNotification () | |
getCronjobNotification () |
Data Fields | |
$ilias | |
$LOCAL = 0 | |
$EMAIL = 1 | |
$BOTH = 2 | |
$linebreak | |
$signature | |
$incoming_type | |
$cronjob_notification |
Class UserMail this class handles user mails.
Definition at line 17 of file class.ilMailOptions.php.
ilMailOptions::__construct | ( | $a_user_id | ) |
Constructor setup an mail object.
int | user_id public |
Definition at line 48 of file class.ilMailOptions.php.
References $ilias, and getOptions().
ilMailOptions::createMailOptionsEntry | ( | ) |
create entry in table_mail_options for a new user this method should only be called from createUser() public
Definition at line 67 of file class.ilMailOptions.php.
References $ilDB, $ilSetting, and IL_MAIL_BOTH.
ilMailOptions::getCronjobNotification | ( | ) |
Definition at line 191 of file class.ilMailOptions.php.
References $cronjob_notification.
ilMailOptions::getIncomingType | ( | ) |
Definition at line 182 of file class.ilMailOptions.php.
References $incoming_type.
Referenced by ilMailOptionsGUI\setMailOptionsValuesByDB(), and ilPersonalSettingsGUI\setMailOptionsValuesByDB().
ilMailOptions::getLinebreak | ( | ) |
get linebreak of user public
Definition at line 167 of file class.ilMailOptions.php.
References $linebreak.
ilMailOptions::getOptions | ( | ) |
get options of user and set variables $signature and $linebreak this method shouldn't bew called from outside use getSignature() and getLinebreak() private
Definition at line 96 of file class.ilMailOptions.php.
References $ilDB, $LOCAL, $res, $row, ilObjUser\_lookupEmail(), and DB_FETCHMODE_OBJECT.
Referenced by __construct().
ilMailOptions::getSignature | ( | ) |
get signature of user public
Definition at line 177 of file class.ilMailOptions.php.
References $signature.
ilMailOptions::setCronjobNotification | ( | ) |
Definition at line 187 of file class.ilMailOptions.php.
References $cronjob_notification.
ilMailOptions::updateOptions | ( | $a_signature, | |
$a_linebreak, | |||
$a_incoming_type, | |||
$a_cronjob_notification | |||
) |
update user options
string | Signature |
int | linebreak |
int | incoming_type |
int | cronjob_notification |
Definition at line 128 of file class.ilMailOptions.php.
References $ilDB, $ilias, and $query.
ilMailOptions::$BOTH = 2 |
Definition at line 24 of file class.ilMailOptions.php.
ilMailOptions::$cronjob_notification |
Definition at line 40 of file class.ilMailOptions.php.
Referenced by getCronjobNotification(), and setCronjobNotification().
ilMailOptions::$EMAIL = 1 |
Definition at line 23 of file class.ilMailOptions.php.
ilMailOptions::$ilias |
Definition at line 19 of file class.ilMailOptions.php.
Referenced by __construct(), and updateOptions().
ilMailOptions::$incoming_type |
Definition at line 39 of file class.ilMailOptions.php.
Referenced by getIncomingType().
ilMailOptions::$linebreak |
Definition at line 31 of file class.ilMailOptions.php.
Referenced by getLinebreak().
ilMailOptions::$LOCAL = 0 |
Definition at line 22 of file class.ilMailOptions.php.
Referenced by getOptions().
ilMailOptions::$signature |
Definition at line 38 of file class.ilMailOptions.php.
Referenced by getSignature().