public function UltimateCronSimpleScheduler::settingsLabel in Ultimate Cron 7.2
Label for settings.
Overrides UltimateCronPlugin::settingsLabel
File
- plugins/
ultimate_cron/ scheduler/ simple.class.php, line 57 - Simple cron job scheduler for Ultimate Cron.
Class
- UltimateCronSimpleScheduler
- Simple scheduler.
Code
public function settingsLabel($name, $value) {
switch ($name) {
case 'rules':
return isset($value[0]) ? format_interval($this->presets[$value[0]]) : $value;
}
return parent::settingsLabel($name, $value);
}