[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/inc/ -> TaskRunner.php (summary)

(no description)

File Size: 239 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

TaskRunner:: (6 methods):
  run()
  sendGIF()
  runTrimRecentChanges()
  runIndexer()
  runSitemapper()
  sendDigest()


Class: TaskRunner  - X-Ref

Class TaskRunner

Run an asynchronous task.
run()   X-Ref
Run the next task

triggers: INDEXER_TASKS_RUN

sendGIF()   X-Ref
Just send a 1x1 pixel blank gif to the browser

author: Andreas Gohr <andi@splitbrain.org>
author: Harry Fuecks <fuecks@gmail.com>

runTrimRecentChanges($media_changes = false)   X-Ref
Trims the recent changes cache (or imports the old changelog) as needed.

triggers: TASK_RECENTCHANGES_TRIM
param: bool $media_changes   If the media changelog shall be trimmed instead of
author: Ben Coburn <btcoburn@silicodon.net>
return: bool

runIndexer()   X-Ref
Runs the indexer for the current page

author: Andreas Gohr <andi@splitbrain.org>

runSitemapper()   X-Ref
Builds a Google Sitemap of all public pages known to the indexer

The map is placed in the root directory named sitemap.xml.gz - This
file needs to be writable!

author: Andreas Gohr
link: https://www.google.com/webmasters/sitemaps/docs/en/about.html

sendDigest()   X-Ref
Send digest and list mails for all subscriptions which are in effect for the
current page

author: Adrian Lang <lang@cosmocode.de>