[ Index ]

PHP Cross Reference of MantisBT

title

Body

[close]

/core/ -> compress_api.php (summary)

Compression API

Copyright: Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
Copyright: Copyright (C) 2002 - 2011 MantisBT Team - mantisbt-dev@lists.sourceforge.net
File Size: 139 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 5 functions

  compress_handler_is_enabled()
  compress_start_handler()
  compress_handler()
  compress_enable()
  compress_disable()

Functions
Functions that are not part of a class:

compress_handler_is_enabled()   X-Ref
Check if compression handler (ob_gzhandler) should be enabled. Note: this should not be used
as an indicator of whether output received by a client will be compressed, only whether an
output handler is used to compress output.

return: bool

compress_start_handler()   X-Ref
Start compression handler if required

return: null

compress_handler( & $p_buffer, $p_mode )   X-Ref
Output Buffering handler that either compresses the buffer or just.
returns it, depending on the return value of compress_handler_is_enabled()

param: string $p_buffer
param: int $p_mode
return: string

compress_enable()   X-Ref
Enable output buffering with compression.

return: null

compress_disable()   X-Ref
Disable output buffering with compression.

return: null



Generated: Thu Jul 28 15:48:31 2011 Cross-referenced by PHPXref 0.7