Data model - script trading/object remove for class xx (cronjob)

Author Message

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? ;)

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

eZ debug

Timing: Jan 18 2025 15:14:02
Script start
Timing: Jan 18 2025 15:14:02
Module start 'layout'
Timing: Jan 18 2025 15:14:02
Module start 'content'
Timing: Jan 18 2025 15:14:03
Module end 'content'
Timing: Jan 18 2025 15:14:03
Script end

Main resources:

Total runtime0.9556 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0080 588.1719152.6563
Module start 'layout' 0.00800.0026 740.828139.5078
Module start 'content' 0.01050.9437 780.3359399.3516
Module end 'content' 0.95420.0013 1,179.68758.0938
Script end 0.9555  1,187.7813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3542160.0002
Check MTime0.00140.1464160.0001
Mysql Total
Database connection0.00220.230910.0022
Mysqli_queries0.913195.5535460.0198
Looping result0.00060.0615440.0000
Template Total0.915895.820.4579
Template load0.00190.200120.0010
Template processing0.913895.633320.4569
Template load and register function0.00030.029910.0003
states
state_id_array0.00230.242010.0023
state_identifier_array0.00180.192120.0009
Override
Cache load0.00160.163560.0003
Sytem overhead
Fetch class attribute can translate value0.00080.081210.0008
Fetch class attribute name0.00100.101810.0010
XML
Image XML parsing0.00020.025210.0002
class_abstraction
Instantiating content class attribute0.00000.000510.0000
General
dbfile0.00070.0732100.0001
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs