You are here

function elysia_cron_get_job_rule in Elysia Cron 5

Same name and namespace in other branches
  1. 5.2 elysia_cron.module \elysia_cron_get_job_rule()
  2. 6.2 elysia_cron.module \elysia_cron_get_job_rule()
  3. 6 elysia_cron.module \elysia_cron_get_job_rule()
  4. 7.2 elysia_cron.module \elysia_cron_get_job_rule()
  5. 7 elysia_cron.module \elysia_cron_get_job_rule()
2 calls to elysia_cron_get_job_rule()
elysia_cron_initialize in ./elysia_cron.module
elysia_cron_settings_form in ./elysia_cron.admin.inc

File

./elysia_cron.module, line 558

Code

function elysia_cron_get_job_rule($job, $default = '', $refresh = false) {

  // May be overriden by a static conf
  if (isset($GLOBALS['conf'][$n = 'ec_' . _ec_get_name($job) . '_rul'])) {
    return $GLOBALS['conf'][$n];
  }
  return elysia_cron_get($job, false, 'rule', $default, $refresh);
}