Omeka_Job_Process_Wrapper

Package: Job\Process

class Omeka_Job_Process_Wrapper

extends Omeka_Job_Process_AbstractProcess

Wrapper that allows Omeka_Job to work with the existing Process/ Omeka_Job_Process_Dispatcher API. Jobs are passed in as the ‘job’ argument, and this wrapper handles decoding and executing the job.

property Omeka_Job_Process_Wrapper::$_process

protected

Omeka_Job_Process_Wrapper::_getJob($str)
Parameters:
  • $str

Omeka_Job_Process_Wrapper::run($args)

Args passed in will consist of the JSON-encoded task.

Parameters:
  • $args

Omeka_Job_Process_Wrapper::__construct(Process $process)
Parameters:
Omeka_Job_Process_Wrapper::__destruct()