enum value

Author Message

andre müller

Tuesday 08 April 2003 6:17:46 am

i would be terribly grateful for any hint on how i can access the value of a contentobjectattribute that is an enum value. in the documentation it says one can access contents by $attribute->content(); but what then???
thanks

Kent Wakely

Tuesday 08 April 2003 11:09:57 am

I would be equally grateful for this info, although I'm not sure whether to be grateful or simply appalled that this isn't documented in the first place.

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 05:22:07
Script start
Timing: Jan 18 2025 05:22:07
Module start 'layout'
Timing: Jan 18 2025 05:22:07
Module start 'content'
Timing: Jan 18 2025 05:22:08
Module end 'content'
Timing: Jan 18 2025 05:22:08
Script end

Main resources:

Total runtime0.6965 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.0068 588.9219152.6094
Module start 'layout' 0.00680.0029 741.531339.3984
Module start 'content' 0.00980.6851 780.9297451.7500
Module end 'content' 0.69490.0016 1,232.67978.2031
Script end 0.6965  1,240.8828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4998160.0002
Check MTime0.00130.1906160.0001
Mysql Total
Database connection0.00150.210010.0015
Mysqli_queries0.658894.5906540.0122
Looping result0.00050.0712520.0000
Template Total0.664495.420.3322
Template load0.00200.283220.0010
Template processing0.662495.104520.3312
Template load and register function0.00010.016710.0001
states
state_id_array0.00110.165010.0011
state_identifier_array0.00190.272720.0009
Override
Cache load0.00160.228370.0002
Sytem overhead
Fetch class attribute can translate value0.00060.092320.0003
Fetch class attribute name0.00100.147920.0005
XML
Image XML parsing0.00020.029820.0001
class_abstraction
Instantiating content class attribute0.00000.000920.0000
General
dbfile0.00070.0949100.0001
String conversion0.00000.001240.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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/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: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs