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.

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