MediaWiki REL1_35
|
Stable to implement. 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. | |
Stable to implement.
Definition at line 11 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.