Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki-CVS
SVN: [39283] trunk/extensions/SemanticMediaWiki/includes/jobs/SMW_DummyJob .php
 

Index | Next | Previous | View Flat


mkroetzsch at svn

Aug 13, 2008, 1:43 AM


Views: 67
Permalink
SVN: [39283] trunk/extensions/SemanticMediaWiki/includes/jobs/SMW_DummyJob .php

Revision: 39283
Author: mkroetzsch
Date: 2008-08-13 08:43:09 +0000 (Wed, 13 Aug 2008)

Log Message:
-----------
programming template not needed in source tree, existing examples should suffice

Removed Paths:
-------------
trunk/extensions/SemanticMediaWiki/includes/jobs/SMW_DummyJob.php

Deleted: trunk/extensions/SemanticMediaWiki/includes/jobs/SMW_DummyJob.php
===================================================================
--- trunk/extensions/SemanticMediaWiki/includes/jobs/SMW_DummyJob.php 2008-08-13 08:10:24 UTC (rev 39282)
+++ trunk/extensions/SemanticMediaWiki/includes/jobs/SMW_DummyJob.php 2008-08-13 08:43:09 UTC (rev 39283)
@@ -1,32 +0,0 @@
-<?php
-/* The DummyJob Class
- * Do not subclass this class. This is just a programming template.
- *
- * 1. Rename the class, insert the Classnamein the construct and fill the run()
- * method with the tasks the job should do for you.
- * 2. Register the job in the SMW_Globalfuncions ($wgJobClasses array)
- * 3. Insert the job into the queue using its insert() method
- * or if you generate a bunch of jobs, put them in an array $jobs and use
- * Job::batchInsert($jobs)
- *
- * @author Daniel M. Herzig
- */
-class SMW_DummyJob extends Job {
-
- //Constructor
- function __construct($title, $params = '', $id = 0) {
- wfDebug(__METHOD__);
- parent::__construct( 'Classname', $title, $params, $id );
- }
-
- /**
- * Run method
- * @return boolean success
- */
- function run() {
-
- //What ever the Job has to do...
-
- return true;
- }
-}



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Subject User Time
SVN: [39283] trunk/extensions/SemanticMediaWiki/includes/jobs/SMW_DummyJob .php mkroetzsch at svn Aug 13, 2008, 1:43 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.