devel:events_list
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
devel:events_list [2009-03-29 21:39] – efege | devel:events_list [2016-12-17 10:35] (current) – Aleksandr | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Event Reference List ====== | ====== Event Reference List ====== | ||
- | The following is a list of all events implemented by the DokuWiki' | + | The following is a list of all events implemented by the DokuWiki' |
When writing a new plugin, be sure to check when a event was added. Some might be only available in a recent [[develonly|development version]] of DokuWiki. | When writing a new plugin, be sure to check when a event was added. Some might be only available in a recent [[develonly|development version]] of DokuWiki. | ||
---- datatable ---- | ---- datatable ---- | ||
- | cols : %title%, description, | + | headers : Event Name, Description, |
- | headers : Event Name, Description, | + | cols : %title%, Description, |
sort : %title% | sort : %title% | ||
filter | filter | ||
---- | ---- | ||
- | ==== Naming Structure ==== | + | ===== Naming Structure |
Event names follow a standard structure: | Event names follow a standard structure: | ||
- | < | + | < |
* ''< | * ''< | ||
Line 24: | Line 24: | ||
Examples: | Examples: | ||
- | * parser_handler_done | + | * PARSER_HANDLER_DONE |
* the event is triggered in the **parser** scripts, | * the event is triggered in the **parser** scripts, | ||
* the **handler** object is the event data, | * the **handler** object is the event data, | ||
* there is no action; the state of parser, in its handler step, is **done**, i.e., the handler has completed its processing. | * there is no action; the state of parser, in its handler step, is **done**, i.e., the handler has completed its processing. | ||
- | * action_headers_send | + | * ACTION_HEADERS_SEND |
* the event is triggered in **action**s.php, | * the event is triggered in **action**s.php, | ||
* the event data is an array of **headers**, | * the event data is an array of **headers**, | ||
* the default action is to **send** the headers. | * the default action is to **send** the headers. | ||
+ | |||
+ | ===== See also ===== | ||
+ | |||
+ | * The [[devel: | ||
+ | * Use [[devel: | ||
+ | * More about [[Event handlers]] | ||
+ | * Examples of [[event handlers code]] |
devel/events_list.1238355547.txt.gz · Last modified: 2010-01-08 14:02 (external edit)