public function UltimateCronLauncher::formatProgress in Ultimate Cron 7.2
Default implementation of formatProgress().
Parameters
UltimateCronJob $job: Job to format progress for.
Return value
string Formatted progress.
File
- ./
ultimate_cron.plugin.inc, line 1080 - Plugin framework for Ultimate Cron.
Class
- UltimateCronLauncher
- Abstract class for Ultimate Cron launchers.
Code
public function formatProgress($job, $progress) {
$progress = $progress ? sprintf("(%d%%)", round($progress * 100)) : '';
return $progress;
}