MediaWiki REL1_35
MediaWiki\Hook\AfterFinalPageOutputHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\AfterFinalPageOutputHook:

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.
 

Detailed Description

Stable to implement.

Definition at line 11 of file AfterFinalPageOutputHook.php.

Member Function Documentation

◆ onAfterFinalPageOutput()

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().

Since
1.35
Parameters
OutputPage$outputThe OutputPage object where output() was called
Returns
void This hook must not abort, it must return no value

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: