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.

Note: When decreasing "content.ini/[VersionManagement]/VersionHistoryClass" you need to run the script script "bin/php/cleanupversions.php" to remove exceeded archived versions.

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)

Geir Arne Waaler (11/10/2011 11:27 am)

Frederik Holljen, Ester Heylen, Geir Arne Waaler


Comments

There are no comments.