You are here

public function CronRule::isValid in Ultimate Cron 7.2

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

Check if a rule is valid.

File

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

Class

CronRule
@file This class parses cron rules and determines last execution time using least case integer comparison.

Code

public function isValid() {
  return $this
    ->getLastSchedule() === FALSE ? FALSE : TRUE;
}