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.

ClassList

Summary

Sets the content classes that use the "Date and time" datatype (used by the "unpublish.php" cronjob).

Usage

 

ClassList[]=class_id1
ClassList[]=class_id2
...

Description

This setting reveals the content classes that contain attributes which can be used by the "unpublish.php" script. Please note that you'll have to use ID numbers here, not identifiers. Only objects that are of these classes will be affected by the script. In addition, the "RootNodeList" directive must be used to specify which subtrees that can have their nodes affected by the cronjob script.

Examples

Example 1

ClassList[]=2

Assuming that the ID number of your article class is 2, this configuration will tell the "unpublish.php" cronjob to check the date and time values specified in the "unpublish_date" attribute of the article(s).

Svitlana Shatokhina (17/11/2006 5:05 pm)

Svitlana Shatokhina (24/11/2006 4:17 pm)


Comments

  • ID Number

    Is this the node id or the object id number or where I can defined the id number of the class?

    Regards,