MediaWiki master
MediaWiki\Output\OutputHandler Class Reference

Static Public Member Functions

static handle ( $s, $phase)
 Standard output handler for use with ob_start.
 

Detailed Description

Since
1.31

Definition at line 32 of file OutputHandler.php.

Member Function Documentation

◆ handle()

static MediaWiki\Output\OutputHandler::handle ( $s,
$phase )
static

Standard output handler for use with ob_start.

Output buffers using this method should only be started from MW_SETUP_CALLBACK, and only if there are no parent output buffers.

Parameters
string$sWeb response output
int$phaseFlags indicating the reason for the call
Returns
string

Definition at line 43 of file OutputHandler.php.

References MediaWiki\MainConfigNames\DisableOutputCompression, MediaWiki\MediaWikiServices\getInstance(), and MW_ENTRY_POINT.


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