MediaWiki REL1_39
|
Server-side helper for client-side compressed content. More...
Static Public Member Functions | |
static | inflate ( $data) |
For content that has been compressed with deflate in the client, try to uncompress it with inflate. | |
static | isDeflated ( $data) |
Whether the content is deflated. | |
Server-side helper for client-side compressed content.
Definition at line 26 of file Deflate.php.
|
static |
For content that has been compressed with deflate in the client, try to uncompress it with inflate.
If data is not prefixed with 'rawdeflate,' it will be returned unmodified.
Data can be compressed in the client using the 'mediawiki.deflate' module:
string | $data | Deflated data |
InvalidArgumentException | If the data wasn't deflated |
Definition at line 57 of file Deflate.php.
|
static |
Whether the content is deflated.
string | $data |
Definition at line 35 of file Deflate.php.