ILIAS
Release_4_1_x_branch Revision 61804
|
Class UserMail this class handles user mails. More...
Public Member Functions | |
ilMailOptions ($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 37 of file class.ilMailOptions.php.
ilMailOptions::createMailOptionsEntry | ( | ) |
create entry in table_mail_options for a new user this method should only be called from createUser() public
Definition at line 87 of file class.ilMailOptions.php.
References $ilDB, and IL_MAIL_BOTH.
ilMailOptions::getCronjobNotification | ( | ) |
Definition at line 215 of file class.ilMailOptions.php.
References $cronjob_notification.
ilMailOptions::getIncomingType | ( | ) |
Definition at line 206 of file class.ilMailOptions.php.
References $incoming_type.
Referenced by ilMailOptionsGUI\setMailOptionsValuesByDB(), and ilPersonalProfileGUI\setMailOptionsValuesByDB().
ilMailOptions::getLinebreak | ( | ) |
get linebreak of user public
Definition at line 191 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 120 of file class.ilMailOptions.php.
References $ilDB, $LOCAL, $res, $row, ilObjUser\_lookupEmail(), and DB_FETCHMODE_OBJECT.
Referenced by ilMailOptions().
ilMailOptions::getSignature | ( | ) |
get signature of user public
Definition at line 201 of file class.ilMailOptions.php.
References $signature.
ilMailOptions::ilMailOptions | ( | $a_user_id | ) |
Constructor setup an mail object.
int | user_id public |
Definition at line 68 of file class.ilMailOptions.php.
References $ilias, and getOptions().
ilMailOptions::setCronjobNotification | ( | ) |
Definition at line 211 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 152 of file class.ilMailOptions.php.
References $data, $ilDB, $ilias, and $query.
ilMailOptions::$BOTH = 2 |
Definition at line 44 of file class.ilMailOptions.php.
ilMailOptions::$cronjob_notification |
Definition at line 60 of file class.ilMailOptions.php.
Referenced by getCronjobNotification(), and setCronjobNotification().
ilMailOptions::$EMAIL = 1 |
Definition at line 43 of file class.ilMailOptions.php.
ilMailOptions::$ilias |
Definition at line 39 of file class.ilMailOptions.php.
Referenced by ilMailOptions(), and updateOptions().
ilMailOptions::$incoming_type |
Definition at line 59 of file class.ilMailOptions.php.
Referenced by getIncomingType().
ilMailOptions::$linebreak |
Definition at line 51 of file class.ilMailOptions.php.
Referenced by getLinebreak().
ilMailOptions::$LOCAL = 0 |
Definition at line 42 of file class.ilMailOptions.php.
Referenced by getOptions().
ilMailOptions::$signature |
Definition at line 58 of file class.ilMailOptions.php.
Referenced by getSignature().