Media/Output.php
- Classes
- Kwf_Media_Output
\Kwf_Media_Output
- Constants
- ENCODING_DEFLATE
- ENCODING_GZIP
- ENCODING_NONE
- Methods
- encode
- getEncoding
- getOutputData
- output
- outputWithoutShutdown
Constants
ENCODING_NONE
ENCODING_NONE = 'none'
Details
- value
- none
ENCODING_GZIP
ENCODING_GZIP = 'gzip'
Details
- value
- gzip
ENCODING_DEFLATE
ENCODING_DEFLATE = 'deflate'
Details
- value
- deflate
Methods
encode
encode(
$contents, $encoding
)
:
Arguments
- $contents
- $encoding
Details
- visibility
- public
- final
- false
- static
- true
getEncoding
getEncoding(
)
:
Details
- visibility
- public
- final
- false
- static
- true
getOutputData
getOutputData(
$file, $headers
)
:
PUBLIC METHOD FOR UNIT TESTING ONLY !
Arguments
- $file
- $headers
Details
- visibility
- public
- final
- false
- static
- true
output
output(
$file
)
:
Arguments
- $file
Details
- visibility
- public
- final
- false
- static
- true
outputWithoutShutdown
outputWithoutShutdown(
$file
)
:
Arguments
- $file
Details
- visibility
- public
- final
- false
- static
- true