Documentation

Horde_Controller_Filter_Gzip
in package
implements Horde_Controller_PostFilter

Filter to gzip content before being served

Tags
author

James Pepin james@bluestatedigital.com

category

Horde

copyright

2008-2017 Horde LLC

license

http://www.horde.org/licenses/bsd BSD

Interfaces, Classes, Traits and Enums

Horde_Controller_PostFilter
Interface for filters that are executed after the controller has generated the response

Table of Contents

processResponse()  : mixed
_byteCount()  : mixed
If mbstring is set to overload str* function then we could be counting multi-byte chars as single bytes so we need to treat the string like its 8-bit encoded to get an accurate byte count.

Methods

_byteCount()

If mbstring is set to overload str* function then we could be counting multi-byte chars as single bytes so we need to treat the string like its 8-bit encoded to get an accurate byte count.

protected _byteCount(mixed $string) : mixed
Parameters
$string : mixed
Return values
mixed

Search results