You are here

public function BackgroundProcess::setOptions in Background Process 7.2

Set callback options

6 calls to BackgroundProcess::setOptions()
BackgroundProcess::detach in ./background_process.inc
Use blocking style request, and instruct the subrequests to detach asap.
BackgroundProcess::keepAlive in ./background_process.inc
Keep the request alive (i.e., restart after finish).
BackgroundProcess::setDispatcher in ./background_process.inc
BackgroundProcess::setInclude in ./background_process.inc
Include specific file for the callback execution.
BackgroundProcess::setPhase in ./background_process.inc
Set the bootstrap phase in which the process should run.

... See full list

File

./background_process.inc, line 481
External API short overview

Class

BackgroundProcess
@file

Code

public function setOptions($options = array()) {
  $this
    ->logDebug(__FUNCTION__);
  $this
    ->ensureProcess();
  $this->options = $options + self::defaultOptions();
  $this->dirty['options'] = serialize($this->options);
  return $this;
}