function CronRule::isValid in Ultimate Cron 7
Same name and namespace in other branches
- 8 CronRule.class.php \CronRule::isValid()
- 6 CronRule.class.php \CronRule::isValid()
- 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;
}