New hook 'AfterFinalPageOutput' which is called at the end of OutputPage::output()
authorDaniel Werner <daniel.werner@wikimedia.de>
Thu, 5 Jul 2012 14:21:21 +0000 (16:21 +0200)
committerDaniel Werner <daniel.werner@wikimedia.de>
Fri, 7 Sep 2012 07:32:39 +0000 (09:32 +0200)
commit2f6430d40d7e7cabbe0524533de4c05b49126f4b
tree26198d9d1a7c8cfd1961b8f8ef794ba5eafcf4c9
parent653ee32ed29bbdd4af5734148bb11b2e5b36e59c
New hook 'AfterFinalPageOutput' which is called at the end of OutputPage::output()

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

- patch-set2: moved the hook before OutputPage::sendCacheControl() is called, as suggested by Reedy.

Change-Id: I264a37ac74e0c18ff141f82156e669ece3212c2d
RELEASE-NOTES-1.20
docs/hooks.txt
includes/OutputPage.php