Forums / Developer / Data model - script trading/object remove for class xx (cronjob)
Zinistry Vacana
Tuesday 30 September 2003 5:21:50 am
Does anyone know where I can find in eZ p. doc. the datamodel with it's relations and more info on how to retrieve all data_attrib from diff. classes with php as a cronjob for unpublishing objects etc.?
Not by using the publish-attrib for ezcontentclass, but by using the attrib for ezcontentobject identified by ezcontentobject_attribute.contentobject_id an so on..f.ex. if you make a "delete-date"attrib for a class where this delete-date is manually decided from front-end by user f.ex with ads ++ and you want to delete this ad when the ads-"delete date" = todaysdate..in a cron job p. example
Any tip? Have anyone made this earlier, maybe we can do some script/template trading? ;)