ibexa

Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

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.

If the limit set here is reached, the oldest archived version will automatically be deleted.

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:40 am)

Ester Heylen (03/06/2010 3:38 pm)

Frederik Holljen, Ester Heylen


Comments

There are no comments.