5include_once 
"Services/Cron/classes/class.ilCronJob.php";
 
   16                return "rep_disk_quota";
 
   23                $lng->loadLanguageModule(
"file");               
 
   24                return $lng->txt(
"repository_disk_quota");
 
   31                $lng->loadLanguageModule(
"file");               
 
   32                return $lng->txt(
"repository_disk_quota_info");
 
   62                require_once
'./Services/WebDAV/classes/class.ilDiskQuotaActivationChecker.php';         
 
   65                        require_once
'./Services/WebDAV/classes/class.ilDiskQuotaChecker.php';           
 
   88                $lng->loadLanguageModule(
"file");
 
   90                require_once 
'Services/WebDAV/classes/class.ilObjDiskQuotaSettings.php';
 
   94                $cb_prop_reminder = 
new ilCheckboxInputGUI(
$lng->txt(
"enable_disk_quota_reminder_mail"), 
"enable_disk_quota_reminder_mail");
 
   95                $cb_prop_reminder->setValue(
'1');
 
   96                $cb_prop_reminder->setChecked($disk_quota_obj->isDiskQuotaReminderMailEnabled());
 
   97                $cb_prop_reminder->setInfo(
$lng->txt(
'disk_quota_reminder_mail_desc'));
 
   98                $a_form->
addItem($cb_prop_reminder);
 
  101                $cb_prop_summary= 
new ilCheckboxInputGUI(
$lng->txt(
"enable_disk_quota_summary_mail"), 
"enable_disk_quota_summary_mail");
 
  102                $cb_prop_summary->setValue(1);
 
  103                $cb_prop_summary->setChecked($disk_quota_obj->isDiskQuotaSummaryMailEnabled());
 
  104                $cb_prop_summary->setInfo(
$lng->txt(
'enable_disk_quota_summary_mail_desc'));
 
  105                $a_form->
addItem($cb_prop_summary);
 
  108                $summary_rcpt = 
new ilTextInputGUI(
$lng->txt(
"disk_quota_summary_rctp"), 
"disk_quota_summary_rctp");
 
  109                $summary_rcpt->setValue($disk_quota_obj->getSummaryRecipients());
 
  110                $summary_rcpt->setInfo(
$lng->txt(
'disk_quota_summary_rctp_desc'));
 
  111                $cb_prop_summary->addSubItem($summary_rcpt);
 
  116                require_once 
'Services/WebDAV/classes/class.ilObjDiskQuotaSettings.php';
 
  118                $disk_quota_obj->setDiskQuotaReminderMailEnabled(
$_POST[
'enable_disk_quota_reminder_mail'] == 
'1');
 
  119                $disk_quota_obj->isDiskQuotaSummaryMailEnabled(
$_POST[
'enable_disk_quota_summary_mail'] == 
'1');
 
  121                $disk_quota_obj->update();
 
  130                $lng->loadLanguageModule(
"file");
 
  137                                require_once(
'Services/WebDAV/classes/class.ilDiskQuotaActivationChecker.php');
 
  140                                        "enable_disk_quota_reminder_mail" => array(
 
  144                                        "enable_disk_quota_summary_mail" => array(
 
  149                                $a_fields[
"repository_disk_quota"] = array($a_is_active ? 
 
  150                                        $lng->txt(
"enabled") :
 
  151                                        $lng->txt(
"disabled"),
 
  161                $settings->set(
'enabled', $a_currently_active);
 
Cron job result data container.
Cron job application base class.
const SCHEDULE_TYPE_DAILY
Soft disk quota notifications.
hasFlexibleSchedule()
Can the schedule be configured?
addToExternalSettingsForm($a_form_id, array &$a_fields, $a_is_active)
Add external settings to form.
getDescription()
Get description.
getDefaultScheduleValue()
Get schedule value.
hasAutoActivation()
Is to be activated on "installation".
saveCustomSettings(ilPropertyFormGUI $a_form)
Save custom settings.
getDefaultScheduleType()
Get schedule type.
addCustomSettingsToForm(ilPropertyFormGUI $a_form)
Add custom settings to form.
activationWasToggled($a_currently_active)
Cron job status was changed.
hasCustomSettings()
Has cron job any custom setting which can be edited?
static _isReminderMailActive()
Static getter.
static _isSummaryMailActive()
Static getter.
static _isActive()
Static getter.
static _updateDiskUsageReport()
Updates the disk usage info of all user accounts.
static _sendSummaryMails()
static _sendReminderMails()
Sends reminder e-mails to all users who have access and who have exceeded their disk quota and who ha...
static getInstance()
Get settings instance.
This class represents a text property in a property form.
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled