You are here

public function UltimateCronPlugin::getDefaultSettings in Ultimate Cron 7.2

Get default settings.

7 calls to UltimateCronPlugin::getDefaultSettings()
UltimateCronBackgroundProcessLegacyLauncher::launchJobs in plugins/ultimate_cron/launcher/background_process_legacy.class.php
Launch manager.
UltimateCronBackgroundProcessLegacyLauncher::launchPoorman in plugins/ultimate_cron/launcher/background_process_legacy.class.php
Poorman launcher.
UltimateCronSerialLauncher::findFreeThread in plugins/ultimate_cron/launcher/serial.class.php
Find a free thread for running cron jobs.
UltimateCronSerialLauncher::launchJobs in plugins/ultimate_cron/launcher/serial.class.php
Launch manager.
UltimateCronSerialLauncher::launchPoorman in plugins/ultimate_cron/launcher/serial.class.php
Poormans cron launcher.

... See full list

1 method overrides UltimateCronPlugin::getDefaultSettings()
UltimateCronSimpleScheduler::getDefaultSettings in plugins/ultimate_cron/scheduler/simple.class.php
Get default settings.

File

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

Class

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

Code

public function getDefaultSettings($job = NULL) {
  $settings = array();
  if ($job && !empty($job->hook[$this->type][$this->name])) {
    $settings += $job->hook[$this->type][$this->name];
  }
  $settings += $this->settings + $this
    ->defaultSettings();
  return $settings;
}