CoreAPI
[ class tree: CoreAPI ] [ index: CoreAPI ] [ all elements ]

Procedural File: compress_api.php

Source Location: /core/compress_api.php



Page Details:

Compression API

This API handles the ob_gzhandler in php.




Tags:

copyright:  Copyright (C) 2002 - 2010 MantisBT Team - mantisbt-dev@lists.sourceforge.net
copyright:  Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
link:  http://www.mantisbt.org





bool $g_compression_started [line 34]

Starts the buffering/compression (only if the compression option is ON)

This variable is used internally. It is not used for configuration


Default value:   false


[ Top ]






compress_disable [line 134]

null compress_disable( )

Disable output buffering with compression.



Tags:

access:  public


[ Top ]



compress_enable [line 123]

null compress_enable( )

Enable output buffering with compression.



Tags:

access:  public


[ Top ]



compress_handler [line 109]

string compress_handler( &$p_buffer, int $p_mode, string $p_buffer)

Output Buffering handler that either compresses the buffer or just.

returns it, depending on the return value of compress_handler_is_enabled()




Tags:

access:  public


Parameters

string   $p_buffer  
int   $p_mode  
   &$p_buffer  
[ Top ]



compress_handler_is_enabled [line 43]

bool compress_handler_is_enabled( )

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.



Tags:

access:  public


[ Top ]



compress_start_handler [line 88]

null compress_start_handler( )

Start compression handler if required



Tags:

access:  public


[ Top ]



Documentation generated on Sun, 12 Dec 2010 23:50:16 +0900 by phpDocumentor 1.4.3
inserted by FC2 system