MediaWiki
REL1_22
|
No-op job that does nothing. More...
Public Member Functions | |
__construct ($title, $params, $id=0) | |
Callers should use DuplicateJob::newFromJob() instead. | |
run () | |
Run the job. | |
Static Public Member Functions | |
static | newFromJob (Job $job) |
Get a duplicate no-op version of a job. |
No-op job that does nothing.
Used to represent duplicates.
Definition at line 29 of file DuplicateJob.php.
DuplicateJob::__construct | ( | $ | title, |
$ | params, | ||
$ | id = 0 |
||
) |
Callers should use DuplicateJob::newFromJob() instead.
$title | Title | |
array | $params | job parameters |
$id | Integer: job id |
Definition at line 37 of file DuplicateJob.php.
References Job\$id, Job\$params, and Job\$title.
static DuplicateJob::newFromJob | ( | Job $ | job | ) | [static] |
Get a duplicate no-op version of a job.
Job | $job |
Definition at line 47 of file DuplicateJob.php.
References array(), Job\getParams(), Job\getTitle(), and Job\getType().
Run the job.
Reimplemented from Job.
Definition at line 56 of file DuplicateJob.php.