$VERSION |
Hook |
parameters |
Description |
1.000 |
InitPlugin |
$topic, $web, $user, $installWeb |
Called once at startup as the plugin system is initialised |
1.010 |
RegistrationHandler |
$webName, $wikiName, $loginName |
Called from register script. Can be used for sending cookies, (UserCookiePlugin) or any other SessionPlugin processing |
1.000 |
CommonTagsHandler |
$text, $topic, $web |
Called once per line of the text |
1.000 |
StartRenderingHandler |
$text, $topic, $web, $meta |
Called just prior to the mainloop |
1.000 |
OutsidePREHandler |
$text, $web |
Called once per line, before any changes - as long as outside PRE & verbatim |
1.000 |
InsidePREHandler |
$text, $web |
Called after closing any lists when in a PRE or VERBATIM area, before any other changes |
1.000 |
EndRenderingHandler |
$text, $topic, $web |
Called after almost all modifications to a topic - ie this is the result of getRenderedVersion. <nop> tags are removed after this |
1.010 |
BeforeEditHandler |
$text, $topic, $web |
Called when the text is edited to allow pre-processing of edited text. See TranslateTagPlugin |
1.010 |
AfterEditHandler |
$text, $topic, $web |
Called when the text is previewed (or checkpoint-saved) to allow post-processing of edited text |
1.010 |
BeforeSaveHandler |
$text, $topic, $web |
BeforeSaveHandler |
1.010 |
WriteHeaderHandler |
$query |
Called just prior to writing header. Returns a single result: a string containing HTTP headers, delimited by CR/LF and with no blank lines. If returns FALSE, the default header gets written. Plugin generated headers may be modified by core code before they are output, to fix bugs or manage caching. Plugins should no longer write headers to standard output. |
1.010 |
RedirectCgiQueryHandler |
$query, $url |
Generic Hook into the redirect functionality. |
1.010 |
GetSessionValueHandler |
$key |
Called to get a session value... Used perhaps in a plugin..? |
1.010 |
SetSessionValueHandler |
$key, $value |
Called to set a session value... Used perhaps in a plugin..? |
1.023 |
BeforeAttachmentSaveHandler |
\%attachAttributes, $topic, $web |
Called before an attachment is saved |
1.023 |
AfterAttachmentSaveHandler |
\%attachAttributes, $topic, $web |
Called after an attachment is saved |
????? |
BeforeCommonTagsHandler |
$text, $topic, $web |
Callback at the very beginning of the common tags handler; needed for Plugin that caches variables |
has a %!FAILEDPLUGINS% tag that will show defined hooks and handlers.