You are here

function _ultimate_cron_get_class in Ultimate Cron 7.2

Get class for a specific task.

Parameters

string $name: Name of task.

Return value

string Name of class.

29 calls to _ultimate_cron_get_class()
drush_ultimate_cron_cron_list in ./ultimate_cron.drush.inc
List cron jobs.
UltimateCronBackgroundProcessLegacyLauncher::launchPoorman in plugins/ultimate_cron/launcher/background_process_legacy.class.php
Poorman launcher.
UltimateCronBackgroundProcessLegacyLauncher::poormanLauncher in plugins/ultimate_cron/launcher/background_process_legacy.class.php
Poorman launcher background process callback.
UltimateCronDatabaseLogger::cleanup in plugins/ultimate_cron/logger/database.class.php
Cleanup logs.
UltimateCronJob::clearSignal in ./ultimate_cron.job.inc
Clear a signal.

... See full list

File

./ultimate_cron.module, line 1740

Code

function _ultimate_cron_get_class($name) {
  static $defaults = array(
    'job' => 'UltimateCronJob',
    'lock' => 'UltimateCronLock',
    'progress' => 'UltimateCronProgress',
    'signal' => 'UltimateCronSignal',
  );
  return variable_get('ultimate_cron_class_' . $name, $defaults[$name]);
}