You are here

public static function UltimateCronPlugin::getGlobalOption in Ultimate Cron 7.2

Get global plugin option.

Parameters

string $name: Name of global plugin option to get.

Return value

mixed Value of option if any, NULL if not found.

4 calls to UltimateCronPlugin::getGlobalOption()
UltimateCronBackgroundProcessLegacyLauncher::launchJobs in plugins/ultimate_cron/launcher/background_process_legacy.class.php
Launch manager.
UltimateCronGeneralSettings::cron_post_schedule in plugins/ultimate_cron/settings/general.class.php
Implements hook_cron_post_schedule().
UltimateCronSerialLauncher::launchJobs in plugins/ultimate_cron/launcher/serial.class.php
Launch manager.
UltimateCronSerialLauncher::runThread in plugins/ultimate_cron/launcher/serial.class.php
Run jobs in thread.

File

./ultimate_cron.plugin.inc, line 63
Plugin framework for Ultimate Cron.

Class

UltimateCronPlugin
This is the base class for all Ultimate Cron plugins.

Code

public static function getGlobalOption($name) {
  return isset(self::$globalOptions[$name]) ? self::$globalOptions[$name] : NULL;
}