|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Inheritance diagram for ilCronPersonalWorkspaceRecalculateQuota:
Collaboration diagram for ilCronPersonalWorkspaceRecalculateQuota:Public Member Functions | |
| __construct () | |
| Constructor. More... | |
| getId () | |
Get id.
| |
| getTitle () | |
Get title.
| |
| getDescription () | |
Get description.
| |
| getDefaultScheduleType () | |
Get schedule type.
| |
| getDefaultScheduleValue () | |
Get schedule value.
| |
| hasAutoActivation () | |
Is to be activated on "installation".
| |
| hasFlexibleSchedule () | |
Can the schedule be configured?
| |
| hasCustomSettings () | |
Has cron job any custom setting which can be edited?
| |
| run () | |
Run job.
| |
| recalculate () | |
| Recalculate. More... | |
| quotaHandleFile ($a_obj_id, $a_owner_id) | |
| quotaHandleMob ($a_obj_id, $a_owner_id) | |
| quotaHandleFileStorage ($a_type, $a_obj_id, $a_owner_id, $a_dir) | |
| quotaHandleVerification ($a_type, $a_obj_id, $a_owner_id) | |
Public Member Functions inherited from ilCronJob | |
| isActive ($a_ts_last_run, $a_schedule_type, $a_schedule_value, $a_manual=false) | |
| Is job currently active? More... | |
| getScheduleType () | |
| Get current schedule type (if flexible) More... | |
| getScheduleValue () | |
| Get current schedule value (if flexible) More... | |
| setSchedule ($a_type, $a_value) | |
| Update current schedule (if flexible) More... | |
| getAllScheduleTypes () | |
| Get all available schedule types. More... | |
| getScheduleTypesWithValues () | |
| getValidScheduleTypes () | |
| Returns a collection of all valid schedule types for a specific job. More... | |
| getTitle () | |
| Get title. More... | |
| getDescription () | |
| Get description. More... | |
| isManuallyExecutable () | |
| Defines whether or not a cron job can be started manually. More... | |
| hasCustomSettings () | |
| Has cron job any custom setting which can be edited? More... | |
| addCustomSettingsToForm (ilPropertyFormGUI $a_form) | |
| Add custom settings to form. More... | |
| saveCustomSettings (ilPropertyFormGUI $a_form) | |
| Save custom settings. More... | |
| addToExternalSettingsForm ($a_form_id, array &$a_fields, $a_is_active) | |
| Add external settings to form. More... | |
| activationWasToggled ($a_currently_active) | |
| Cron job status was changed. More... | |
| getId () | |
| Get id. More... | |
| hasAutoActivation () | |
| Is to be activated on "installation". More... | |
| hasFlexibleSchedule () | |
| Can the schedule be configured? More... | |
| getDefaultScheduleType () | |
| Get schedule type. More... | |
| getDefaultScheduleValue () | |
| Get schedule value. More... | |
| run () | |
| Run job. More... | |
Protected Attributes | |
| $lng | |
| $db | |
| $job_status | |
Additional Inherited Members | |
Data Fields inherited from ilCronJob | |
| const | SCHEDULE_TYPE_DAILY = 1 |
| const | SCHEDULE_TYPE_IN_MINUTES = 2 |
| const | SCHEDULE_TYPE_IN_HOURS = 3 |
| const | SCHEDULE_TYPE_IN_DAYS = 4 |
| const | SCHEDULE_TYPE_WEEKLY = 5 |
| const | SCHEDULE_TYPE_MONTHLY = 6 |
| const | SCHEDULE_TYPE_QUARTERLY = 7 |
| const | SCHEDULE_TYPE_YEARLY = 8 |
Protected Member Functions inherited from ilCronJob | |
| checkSchedule ($a_ts_last_run, $a_schedule_type, $a_schedule_value) | |
Definition at line 14 of file class.ilCronPersonalWorkspaceRecalculateQuota.php.
| ilCronPersonalWorkspaceRecalculateQuota::__construct | ( | ) |
Constructor.
Definition at line 34 of file class.ilCronPersonalWorkspaceRecalculateQuota.php.
| ilCronPersonalWorkspaceRecalculateQuota::getDefaultScheduleType | ( | ) |
Get schedule type.
Reimplemented from ilCronJob.
Definition at line 76 of file class.ilCronPersonalWorkspaceRecalculateQuota.php.
References ilCronJob\SCHEDULE_TYPE_DAILY.
| ilCronPersonalWorkspaceRecalculateQuota::getDefaultScheduleValue | ( | ) |
Get schedule value.
Reimplemented from ilCronJob.
Definition at line 84 of file class.ilCronPersonalWorkspaceRecalculateQuota.php.
| ilCronPersonalWorkspaceRecalculateQuota::getDescription | ( | ) |
Get description.
Reimplemented from ilCronJob.
Definition at line 66 of file class.ilCronPersonalWorkspaceRecalculateQuota.php.
References $lng.
| ilCronPersonalWorkspaceRecalculateQuota::getId | ( | ) |
Get id.
Reimplemented from ilCronJob.
Definition at line 48 of file class.ilCronPersonalWorkspaceRecalculateQuota.php.
| ilCronPersonalWorkspaceRecalculateQuota::getTitle | ( | ) |
Get title.
Reimplemented from ilCronJob.
Definition at line 56 of file class.ilCronPersonalWorkspaceRecalculateQuota.php.
References $lng.
| ilCronPersonalWorkspaceRecalculateQuota::hasAutoActivation | ( | ) |
Is to be activated on "installation".
Reimplemented from ilCronJob.
Definition at line 92 of file class.ilCronPersonalWorkspaceRecalculateQuota.php.
| ilCronPersonalWorkspaceRecalculateQuota::hasCustomSettings | ( | ) |
Has cron job any custom setting which can be edited?
Reimplemented from ilCronJob.
Definition at line 108 of file class.ilCronPersonalWorkspaceRecalculateQuota.php.
| ilCronPersonalWorkspaceRecalculateQuota::hasFlexibleSchedule | ( | ) |
Can the schedule be configured?
Reimplemented from ilCronJob.
Definition at line 100 of file class.ilCronPersonalWorkspaceRecalculateQuota.php.
| ilCronPersonalWorkspaceRecalculateQuota::quotaHandleFile | ( | $a_obj_id, | |
| $a_owner_id | |||
| ) |
| int | $a_obj_id | |
| int | $a_owner_id |
Definition at line 294 of file class.ilCronPersonalWorkspaceRecalculateQuota.php.
References $db, $i, $ilDB, ilUtil\dirsize(), and ilUtil\getDataDir().
Referenced by recalculate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCronPersonalWorkspaceRecalculateQuota::quotaHandleFileStorage | ( | $a_type, | |
| $a_obj_id, | |||
| $a_owner_id, | |||
| $a_dir | |||
| ) |
| string | $a_type | |
| int | $a_obj_id | |
| int | $a_owner_id | |
| string | $a_dir |
Definition at line 357 of file class.ilCronPersonalWorkspaceRecalculateQuota.php.
References $a_type, $db, $i, $ilDB, and ilUtil\dirsize().
Referenced by recalculate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCronPersonalWorkspaceRecalculateQuota::quotaHandleMob | ( | $a_obj_id, | |
| $a_owner_id | |||
| ) |
| int | $a_obj_id | |
| int | $a_owner_id |
Definition at line 333 of file class.ilCronPersonalWorkspaceRecalculateQuota.php.
References $db, $ilDB, and ilUtil\dirsize().
Referenced by recalculate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCronPersonalWorkspaceRecalculateQuota::quotaHandleVerification | ( | $a_type, | |
| $a_obj_id, | |||
| $a_owner_id | |||
| ) |
| strin | $a_type | |
| int | $a_obj_id | |
| int | $a_owner_id |
Definition at line 398 of file class.ilCronPersonalWorkspaceRecalculateQuota.php.
References $a_type, $db, $i, $ilDB, ilUtil\dirsize(), and ilUtil\getDataDir().
Referenced by recalculate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCronPersonalWorkspaceRecalculateQuota::recalculate | ( | ) |
Recalculate.
Definition at line 132 of file class.ilCronPersonalWorkspaceRecalculateQuota.php.
References $db, $ilDB, quotaHandleFile(), quotaHandleFileStorage(), quotaHandleMob(), and quotaHandleVerification().
Referenced by run().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCronPersonalWorkspaceRecalculateQuota::run | ( | ) |
Run job.
Reimplemented from ilCronJob.
Definition at line 116 of file class.ilCronPersonalWorkspaceRecalculateQuota.php.
References $result, recalculate(), ilCronJobResult\STATUS_NO_ACTION, and ilCronJobResult\STATUS_OK.
Here is the call graph for this function:
|
protected |
Definition at line 24 of file class.ilCronPersonalWorkspaceRecalculateQuota.php.
Referenced by quotaHandleFile(), quotaHandleFileStorage(), quotaHandleMob(), quotaHandleVerification(), and recalculate().
|
protected |
Definition at line 29 of file class.ilCronPersonalWorkspaceRecalculateQuota.php.
|
protected |
Definition at line 19 of file class.ilCronPersonalWorkspaceRecalculateQuota.php.
Referenced by getDescription(), and getTitle().