DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:event:action_export_postprocess

ACTION_EXPORT_POSTPROCESS

Description:
postprocess the output of a page requested for export
DefaultAction:
None. So default is, it doesn't modify the output that is sent to the browser
Preventable:
no
Added:
2008-08-28

This event is signalled by act_export() in inc/actions.php after the export content has been prepared and is ready to be sent to the browser.

Passed Data

The passed Doku_Event object has the fields: $data and $result.

The $data field is an array with the entries:

  • $data['id'] – page id
  • $data['mode'] – requested export mode
  • $data['headers'] – export headers
  • $data['output'] – export output

The $result field is always null because this event has no default action that sets this field. The only difference between the BEFORE and AFTER event handlers is their execution order.

See also

devel/event/action_export_postprocess.txt · Last modified: 2018-12-08 14:51 by torpedo

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