====== TPL_CONTENT_DISPLAY ====== ---- dataentry event ---- Description: Post process the XHTML output DefaultAction: Sends the XHTML to the browser Preventable: yes Added_dt: 2006-04-25 ---- The event is signaled by [[xref>tpl_content()]] in [[xref>inc/template.php]] after receiving the output on completion of the [[devel:event:TPL_ACT_RENDER]] event. Use it to post process the XHTML output before it is sent to the client browser. ===== Passed Data ===== The passed [[xref>Doku_Event]] object has the fields: ''$data'' and ''$result''. The ''$data'' field contains the XHTML of content as a string. The BEFORE event handler can modify the XHTML before outputting and it let you prevent the default action. The ''$result'' is always null because the default action [[xref>ptln()]] returns nothing, but only send to the browser. The AFTER handler is (default) called after sending to the browser. ===== See also ===== * [[codesearch>TPL_CONTENT_DISPLAY|Code related to this event]] used in any DokuWiki's files, plugins and templates * [[devel:Action Plugins]] * [[devel:Events]] * [[devel:event:TPL_ACT_RENDER]]