Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

Handlers

Summary

Use this setting to define which handler to use.

Usage

Handlers[<handler name>]=<class name handler>

Description

Use this setting to define which handler to use.

Use the name of the handler as key:

  • Use [gzip] when using the generic gzip handler
  • Use [gziplib] or [gzibshell] when using a specific gzip handler

The values are the class names of the handlers available at lib/ezfile/classes:

  • "ezgzipzlibcompressionhandler" handles files compressed with gzip using the zlib extension. More information on the zlib extension can be found here: http://www.php.net/manual/en/ref.zlib.php
  • "ezgzipshellcompressionhandler" handles files compressed with gzip using the shell commands. It will handle GZIP compression by executing the 'gzip' executable, without this executable the handler can't work.
  • "ezgzipcompressionhandler" handles files compressed with gzip. This handler is a wrapper of the "eZGZIPZLIBCompressionHandler" and "eZGZIPShellCompressionHandler".

This setting is case sensitive.

Examples

Handlers[gzip]=ezgzipcompressionhandler
 
Handlers[gzipzlib]=ezgzipzlibcompressionhandler
 
Handlers[gzipshell]=ezgzipshellcompressionhandler

Ester Heylen (04/05/2010 10:02 am)

Ricardo Correia (19/04/2013 10:33 am)

Ester Heylen, Ricardo Correia


Comments

There are no comments.