MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onAfterFinalPageOutput ( $output) | |
This hook is called nearly at the end of OutputPage::output() but before OutputPage::sendCacheControl() and final ob_end_flush() which will send the buffered output to the client. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "AfterFinalPageOutput" to register handlers implementing this interface.
Definition at line 14 of file AfterFinalPageOutputHook.php.
MediaWiki\Hook\AfterFinalPageOutputHook::onAfterFinalPageOutput | ( | $output | ) |
This hook is called nearly at the end of OutputPage::output() but before OutputPage::sendCacheControl() and final ob_end_flush() which will send the buffered output to the client.
This allows for last-minute modification of the output within the buffer by using ob_get_clean().
OutputPage | $output | The OutputPage object where output() was called |
Implemented in MediaWiki\HookContainer\HookRunner.