Generating a schema of classes

Author Message

Marc Boon

Saturday 11 March 2006 3:17:21 am

Is there an easy way to create a list of all classes, with their attributes, the attribute ids, datatypes etc. I could probably write some template code to generate such an overview, but maybe somebody already did that.

Ɓukasz Serwatka

Tuesday 14 March 2006 1:28:11 am

You can re-use code from admin interface templates. Setup->Classes. Just turn on template debugging and you will see list of used templates.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 19 2025 03:33:23
Script start
Timing: Jan 19 2025 03:33:23
Module start 'layout'
Timing: Jan 19 2025 03:33:23
Module start 'content'
Timing: Jan 19 2025 03:33:24
Module end 'content'
Timing: Jan 19 2025 03:33:24
Script end

Main resources:

Total runtime1.1193 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 589.1484152.6250
Module start 'layout' 0.00660.0039 741.773439.4453
Module start 'content' 0.01051.1074 781.2188522.2344
Module end 'content' 1.11790.0014 1,303.45318.1641
Script end 1.1193  1,311.6172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2737160.0002
Check MTime0.00130.1136160.0001
Mysql Total
Database connection0.00130.115010.0013
Mysqli_queries1.077396.2475540.0200
Looping result0.00060.0550520.0000
Template Total1.083996.820.5420
Template load0.00180.164520.0009
Template processing1.082196.672020.5410
Template load and register function0.00030.026510.0003
states
state_id_array0.00170.147810.0017
state_identifier_array0.00160.142620.0008
Override
Cache load0.00140.127470.0002
Sytem overhead
Fetch class attribute can translate value0.00110.097820.0005
Fetch class attribute name0.00190.168730.0006
XML
Image XML parsing0.00070.066020.0004
class_abstraction
Instantiating content class attribute0.00000.000730.0000
General
dbfile0.00080.0694180.0000
String conversion0.00000.001040.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs