abstract class UltimateCronScheduler in Ultimate Cron 7.2
Abstract class for Ultimate Cron schedulers.
A scheduler is responsible for telling Ultimate Cron whether a job should run or not.
Abstract methods: isScheduled($job)
- Check if the given job is scheduled for launch at this time. TRUE if it's scheduled for launch, otherwise FALSE.
isBehind($job)
- Check if the given job is behind its schedule. FALSE if not behind, otherwise the amount of time it's behind in seconds.
Hierarchy
- class \UltimateCronPlugin
- class \UltimateCronScheduler
Expanded class hierarchy of UltimateCronScheduler
2 string references to 'UltimateCronScheduler'
- crontab.inc in plugins/
ultimate_cron/ scheduler/ crontab.inc - ultimate_cron_ctools_plugin_type in ./
ultimate_cron.module - Implements hook_ctools_plugin_type().
File
- ./
ultimate_cron.plugin.inc, line 842 - Plugin framework for Ultimate Cron.
View source
abstract class UltimateCronScheduler extends UltimateCronPlugin {
/**
* Check job schedule.
*
* @param UltimateCronJob $job
* The job to check schedule for.
*
* @return bool
* TRUE if job is scheduled to run.
*/
public abstract function isScheduled($job);
/**
* Check if job is behind schedule.
*
* @param UltimateCronJob $job
* The job to check schedule for.
*
* @return bool
* TRUE if job is behind its schedule.
*/
public abstract function isBehind($job);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
UltimateCronPlugin:: |
public | property | ||
UltimateCronPlugin:: |
public static | property | ||
UltimateCronPlugin:: |
public static | property | ||
UltimateCronPlugin:: |
public static | property | 1 | |
UltimateCronPlugin:: |
public | property | ||
UltimateCronPlugin:: |
public | property | ||
UltimateCronPlugin:: |
public | property | ||
UltimateCronPlugin:: |
public | property | ||
UltimateCronPlugin:: |
public | property | 1 | |
UltimateCronPlugin:: |
public | function | Allow plugins to alter the allowed operations for a job. | 2 |
UltimateCronPlugin:: |
public | function | Clean form of empty fallback values. | |
UltimateCronPlugin:: |
public | function | A hook_cronapi() for plugins. | 1 |
UltimateCronPlugin:: |
public | function | A hook_cron_alter() for plugins. | 3 |
UltimateCronPlugin:: |
public | function | A hook_cron_post_invoke() for plugins. | |
UltimateCronPlugin:: |
public | function | A hook_cron_post_launch() for plugins. | |
UltimateCronPlugin:: |
public | function | A hook_cron_post_run() for plugins. | |
UltimateCronPlugin:: |
public | function | A hook_cron_post_schedule() for plugins. | 1 |
UltimateCronPlugin:: |
public | function | A hook_cron_pre_invoke() for plugins. | |
UltimateCronPlugin:: |
public | function | A hook_cron_pre_launch() for plugins. | |
UltimateCronPlugin:: |
public | function | A hook_cron_pre_run() for plugins. | |
UltimateCronPlugin:: |
public | function | A hook_cron_pre_schedule() for plugins. | 2 |
UltimateCronPlugin:: |
public | function | Default settings. | 7 |
UltimateCronPlugin:: |
public static | function | Default settings form. | 1 |
UltimateCronPlugin:: |
public | function | Modified version drupal_array_get_nested_value(). | |
UltimateCronPlugin:: |
public static | function | Singleton factoryLogEntry. | |
UltimateCronPlugin:: |
public | function | Process fallback form parameters. | |
UltimateCronPlugin:: |
public | function | Format label for the plugin. | 1 |
UltimateCronPlugin:: |
public | function | Format verbose label for the plugin. | 1 |
UltimateCronPlugin:: |
public | function | Get default settings. | 1 |
UltimateCronPlugin:: |
public static | function | Get global plugin option. | |
UltimateCronPlugin:: |
public static | function | Get all global plugin options. | |
UltimateCronPlugin:: |
final public static | function | Invoke hook_cron_alter() on plugins. | |
UltimateCronPlugin:: |
final public static | function | Invoke hook_cron_post_invoke() on plugins. | |
UltimateCronPlugin:: |
final public static | function | Invoke hook_cron_post_launch() on plugins. | |
UltimateCronPlugin:: |
final public static | function | Invoke hook_cron_post_run() on plugins. | |
UltimateCronPlugin:: |
final public static | function | Invoke hook_cron_post_schedule() on plugins. | |
UltimateCronPlugin:: |
final public static | function | Invoke hook_cron_pre_invoke() on plugins. | |
UltimateCronPlugin:: |
final public static | function | Invoke hook_cron_pre_launch() on plugins. | |
UltimateCronPlugin:: |
final public static | function | Invoke hook_cron_pre_run() on plugins. | |
UltimateCronPlugin:: |
final public static | function | Invoke hook_cron_pre_schedule() on plugins. | |
UltimateCronPlugin:: |
public | function | Default plugin valid for all jobs. | 2 |
UltimateCronPlugin:: |
public static | function | Job settings form. | 1 |
UltimateCronPlugin:: |
public static | function | Job settings form submit handler. | 1 |
UltimateCronPlugin:: |
public static | function | Job settings form validate handler. | 1 |
UltimateCronPlugin:: |
public static | function | Set global plugin option. | |
UltimateCronPlugin:: |
public | function | Save settings to db. | |
UltimateCronPlugin:: |
public | function | Settings form. | 8 |
UltimateCronPlugin:: |
public | function | Settings form submit handler. | 3 |
UltimateCronPlugin:: |
public | function | Settings form validate handler. | 1 |
UltimateCronPlugin:: |
public | function | Get label for a specific setting. | 3 |
UltimateCronPlugin:: |
public | function | Signal page for plugins. | 2 |
UltimateCronPlugin:: |
public static | function | Remove a global plugin option. | |
UltimateCronPlugin:: |
public static | function | Remove all global plugin options. | |
UltimateCronPlugin:: |
public | function | Constructor. | 1 |
UltimateCronScheduler:: |
abstract public | function | Check if job is behind schedule. | 1 |
UltimateCronScheduler:: |
abstract public | function | Check job schedule. | 1 |