You are here

function CronRule::isValid in Ultimate Cron 7

Same name and namespace in other branches
  1. 8 CronRule.class.php \CronRule::isValid()
  2. 6 CronRule.class.php \CronRule::isValid()
  3. 7.2 CronRule.class.php \CronRule::isValid()

Check if a rule is valid

File

./CronRule.class.php, line 242
This class parses cron rules and determines last execution time using least case integer comparison.

Class

CronRule
@file

Code

function isValid($time = NULL) {
  return $this
    ->getLastRan($time) === FALSE ? FALSE : TRUE;
}