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.

CollectionUserDataList

Summary

Sets how information collection is handled in terms of user identification for specific classes.

Usage

 

CollectionUserDataList[<class ID>]=multiple | unique | overwrite

Description

Just like the setting CollectionUserData in the block [CollectionSettings], this setting sets how information collection is handled in terms of user identification. But it overrides the setting CollectionUserData for specific classes by matching class ID's or identifiers to the information collection type.
The following values are possible:

  • multiple: this setting allows each user to submit multiple data.
  • unique: this setting allows each user to submit only one set of data. If a set of data already exists, a warning is given.
  • overwrite: this setting allows each user to submit only one set of data. If a set of data already exists, the new entry will overwrite the old one.

This setting is case sensitive.

Examples

[CollectionSettings]
 
CollectionUserData=multiple
 
CollectionUserDataList[poll]=unique

By default collecting user information allows for users to submit multiple data. But CollectionUserDataList overrides this, so for polls users are only allowed to submit one set of data. If they give a second set of data a warning will be given.

Ester Heylen (23/06/2010 3:16 pm)

Ester Heylen (23/06/2010 3:18 pm)


Comments

There are no comments.