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.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.