DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:event:indexer_tasks_run

This is an old revision of the document!


INDEXER_TASKS_RUN

Description:
run custom "Cron jobs"
DefaultAction:
run one of the indexer actions
Preventable:
yes
Added:
2008-02-26

This event is called in lib/exe/indexer.php. It is called on every pageview through a web bug.

Plugins should only hook BEFORE the event if it is important for the task to be run as often as possible. Otherwise, hook AFTER the event to be run only when other tasks have completed.

Plugin authors must call stopPropagation() and preventDefault() if any work is done. If your plugin does nothing, then you must allow the event to continue. Not following these rules may cause DokuWiki to exceed the PHP execution time limit.

These are the default jobs which are executed in the given order. Only one job is executed per page request.

Passed Data

No data is passed

Plugins handling this event

The following plugins are known to handle this event and their source code may be a good start for understanding and implementing a handler yourself.

See also

devel/event/indexer_tasks_run.1371632910.txt.gz · Last modified: 2013-06-19 11:08 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki