|
static | callback () |
| The callback, which is called by the transport.
|
|
static | register () |
| Register a callback to be called when headers are sent.
|
|
static | warnIfHeadersSent () |
| Log a warning message if headers have already been sent.
|
|
Definition at line 5 of file HeaderCallback.php.
◆ callback()
static MediaWiki\HeaderCallback::callback |
( |
| ) |
|
|
static |
◆ register()
static MediaWiki\HeaderCallback::register |
( |
| ) |
|
|
static |
Register a callback to be called when headers are sent.
There can only be one of these handlers active, so all relevant actions have to be in here.
Definition at line 14 of file HeaderCallback.php.
◆ warnIfHeadersSent()
static MediaWiki\HeaderCallback::warnIfHeadersSent |
( |
| ) |
|
|
static |
Log a warning message if headers have already been sent.
This can be called before flushing the output.
Definition at line 57 of file HeaderCallback.php.
References wfGetCaller().
◆ $headersSentException
MediaWiki\HeaderCallback::$headersSentException |
|
staticprivate |
◆ $messageSent
MediaWiki\HeaderCallback::$messageSent = false |
|
staticprivate |
The documentation for this class was generated from the following file: