You are here

public function UltimateCronJob::peekSignal in Ultimate Cron 7.2

Get a signal without affecting it.

See also

UltimateCronSignal::peek()

File

./ultimate_cron.job.inc, line 78
Job class for Ultimate Cron.

Class

UltimateCronJob
Class for handling cron jobs.

Code

public function peekSignal($signal) {
  if (isset(self::$signals[$this->name][$signal])) {
    return TRUE;
  }
  $class = _ultimate_cron_get_class('signal');
  return $class::peek($this->name, $signal);
}