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.

VersionHistoryClass

Summary

Defines the maximum number that can be managed

Usage

 

VersionHistoryClass[class_identifier]=maximum_nr

Description

This setting define the maximum amount of versions that can be managed. In order to specify the number of object versions to keep per class, specified by the class ID, you can use the syntax:

VersionHistoryClass[class_id]=maximum_nr

Since eZ Publish 4.1.1, you can also specify the class by its identifier or class_identifier. The syntax is this:

VersionHistoryClass[class_identifier]=maximum_nr

If no value is specified, the value of DefaultVersionHistoryLimit will be used.

Examples

Example 1

VersionHistoryClass[folder]=1

For the folder class only one version will be kept.

Ester Heylen (19/11/2009 11:08 am)

Ester Heylen (19/11/2009 11:08 am)


Comments

There are no comments.