cvs: php4 /pear/HTTP Compress.php

From: Date: Tue, 07 Aug 2001 01:07:26 +0000
Subject: cvs: php4 /pear/HTTP Compress.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-430@lists.php.net to get a copy of this message
alexmerz Mon Aug 6 21:07:26 2001 EDT Modified files: /php4/pear/HTTP Compress.php Log: fix PHPDoc Index: php4/pear/HTTP/Compress.php diff -u php4/pear/HTTP/Compress.php:1.2 php4/pear/HTTP/Compress.php:1.3 --- php4/pear/HTTP/Compress.php:1.2 Sat Jan 20 15:49:59 2001 +++ php4/pear/HTTP/Compress.php Mon Aug 6 21:07:26 2001 @@ -1,4 +1,25 @@ <?php +// +// +----------------------------------------------------------------------+ +// | PHP version 4.0 | +// +----------------------------------------------------------------------+ +// | Copyright (c) 1997-2001 The PHP Group | +// +----------------------------------------------------------------------+ +// | This source file is subject to version 2.02 of the PHP license, | +// | that is bundled with this package in the file LICENSE, and is | +// | available at through the world-wide-web at | +// | http://www.php.net/license/2_02.txt. | +// | If you did not receive a copy of the PHP license and are unable to | +// | obtain it through the world-wide-web, please send a note to | +// | license@php.net so we can mail you a copy immediately. | +// +----------------------------------------------------------------------+ +// | Authors: Mark Nottingham <mnot@pobox.com> | +// | Chuck Hagenbuch <chuck@horde.org> | +// +----------------------------------------------------------------------+ +// +// $Id: Compress.php,v 1.3 2001/08/07 01:07:26 alexmerz Exp $ +// + /** * HTTP_Compress:: provides a wrapper around php's output buffering * mechanisms and also does compression, generates headers - ETag, @@ -7,13 +28,15 @@ * * @author Mark Nottingham <mnot@pobox.com> * @author Chuck Hagenbuch <chuck@horde.org> - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ + * @package HTTP */ class HTTP_Compress { /** * Start the output buffer, and make sure that implicit flush is * off so that data is always buffered. + * @access public */ function start() { @@ -28,6 +51,7 @@ * @param boolean $compress (optional) Use gzip compression, if the browser supports it. * @param boolean $use_etag Generate an ETag, and don't send the body if the browser has the same object cached. * @param boolean $send_body Send the body of the request? Might be false for HEAD requests. + * @access public */ function output($compress = true, $use_etag = true, $send_body = true) {

« previous php.pear.cvs (#430) next »