MediaWiki REL1_35
|
Static Public Member Functions | |
static | callback () |
The callback, which is called by the transport. | |
static | register () |
Register a callback to be called when headers are sent. | |
static | sanitizeSetCookie (array $values) |
Sanitize Set-Cookie headers for logging. | |
static | warnIfHeadersSent () |
Log a warning message if headers have already been sent. | |
Static Private Attributes | |
static | $headersSentException |
static | $messageSent = false |
Definition at line 8 of file HeaderCallback.php.
|
static |
The callback, which is called by the transport.
Definition at line 37 of file HeaderCallback.php.
References $header.
|
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 19 of file HeaderCallback.php.
|
static |
Sanitize Set-Cookie headers for logging.
array | $values | List of header values. |
Definition at line 103 of file HeaderCallback.php.
|
static |
Log a warning message if headers have already been sent.
This can be called before flushing the output.
Definition at line 85 of file HeaderCallback.php.
References wfGetCaller().
|
staticprivate |
Definition at line 9 of file HeaderCallback.php.
|
staticprivate |
Definition at line 10 of file HeaderCallback.php.