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

Sets the number of concurrent versions that can exist of an object per class.

Usage

 

VersionHistoryClass[ class_id1]= number
VersionHistoryClass[ class_id2]= number
...

Description

This setting is similar to DefaultVersionHistoryLimit but allows you to set the maximum number of versions per class giving you more fine grained control.

A typical scenario is to limit the number of versions of posts in your public forum, but not for the other classes in the system.

Examples

VersionHistoryClass[1]=5
VersionHistoryClass[3]=3

Using these settings eZ Publish will allow 5 versions for objects of classes with id 1 and 3 versions for objects of class 3. Other objects in your system will use the global DefaultVersionHistoryLimit to determine the maximum number of versions.

Frederik Holljen (01/07/2005 11:39 am)

Frederik Holljen (01/07/2005 11:40 am)


Comments

There are no comments.