ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Class ilDiskQuotaReminderMail. More...
Public Member Functions | |
__construct () | |
constructor public More... | |
useLangVariablesAsFallback ($a_status) | |
areLangVariablesUsedAsFallback () | |
setData ($a_data) | |
Sets used to fill in the placeholders in the mail. More... | |
reset () | |
reset all values More... | |
readMailTemplate ($a_lang) | |
get new mail template array (including subject and message body) More... | |
replacePlaceholders ($a_string, $a_amail, $a_lang) | |
Private Member Functions | |
getLng ($a_lang) | |
Private Attributes | |
$lang_variables_as_fallback = true | |
$data | |
Data used to fill in the placeholders in the mail. More... | |
$tmp_lng | |
Class ilDiskQuotaReminderMail.
Sends e-mail to users who have exceeded their disk quota.
Definition at line 13 of file class.ilDiskQuotaReminderMail.php.
ilDiskQuotaReminderMail::__construct | ( | ) |
ilDiskQuotaReminderMail::areLangVariablesUsedAsFallback | ( | ) |
Definition at line 37 of file class.ilDiskQuotaReminderMail.php.
References $lang_variables_as_fallback.
Referenced by readMailTemplate().
|
private |
Definition at line 155 of file class.ilDiskQuotaReminderMail.php.
References $lang, and $tmp_lng.
Referenced by readMailTemplate(), and replacePlaceholders().
ilDiskQuotaReminderMail::readMailTemplate | ( | $a_lang | ) |
get new mail template array (including subject and message body)
Definition at line 77 of file class.ilDiskQuotaReminderMail.php.
References $data, $DIC, $GLOBALS, $lang, ilObjDiskQuotaSettings\_lookupReminderMailTemplate(), areLangVariablesUsedAsFallback(), getLng(), ILIAS_HTTP_PATH, replacePlaceholders(), and send().
ilDiskQuotaReminderMail::replacePlaceholders | ( | $a_string, | |
$a_amail, | |||
$a_lang | |||
) |
Definition at line 163 of file class.ilDiskQuotaReminderMail.php.
References $DIC, ilUtil\formatSize(), getLng(), and ILIAS_HTTP_PATH.
Referenced by readMailTemplate().
ilDiskQuotaReminderMail::reset | ( | ) |
reset all values
Definition at line 69 of file class.ilDiskQuotaReminderMail.php.
ilDiskQuotaReminderMail::setData | ( | $a_data | ) |
Sets used to fill in the placeholders in the mail.
The following key value pairs must be supplied:
'language' string language of user 'gender' string gender of user 'm' or 'f' 'firstname' string firstname of the user 'lastname' string lastname of the user 'email' string email address of the user 'login' string login of the user 'disk_quota' integer disk quota in bytes of the user 'disk_usage' integer disk usage in bytes of the user 'disk_usage_details' associative array with the values returned by ilDiskQuotaChecker::_lookupDiskUsage($a_usr_id)
$a_data | array Key value pairs with the name of the placeholder as keys. |
Definition at line 61 of file class.ilDiskQuotaReminderMail.php.
ilDiskQuotaReminderMail::useLangVariablesAsFallback | ( | $a_status | ) |
Definition at line 32 of file class.ilDiskQuotaReminderMail.php.
|
private |
Data used to fill in the placeholders in the mail.
Contains key value pairs with the name of the placeholder as keys.
Definition at line 20 of file class.ilDiskQuotaReminderMail.php.
Referenced by readMailTemplate().
|
private |
Definition at line 15 of file class.ilDiskQuotaReminderMail.php.
Referenced by areLangVariablesUsedAsFallback().
|
private |
Definition at line 22 of file class.ilDiskQuotaReminderMail.php.
Referenced by getLng().