public function BackgroundProcess::__construct in Background Process 7.2
Same name and namespace in other branches
- 8 background_process.class.php \BackgroundProcess::__construct()
- 6 BackgroundProcess.class.php \BackgroundProcess::__construct()
- 7 BackgroundProcess.class.php \BackgroundProcess::__construct()
Constructor. Will generate a "unique" handle for the process if none is specified.
File
- ./
background_process.inc, line 77 - External API short overview
Class
- BackgroundProcess
- @file
Code
public function __construct($handle = NULL) {
$this->handle = isset($handle) ? $handle : md5(uniqid('bgp', TRUE));
$this->options = self::defaultOptions();
}