Product, how does a class activate as a product!

Author Message

Jorge estévez

Friday 11 June 2004 11:47:34 pm

What trigers a new class to "act" as a product item, does the "price" datatype does this or else?

I need to create different classes as product items!!!

thanks

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

Alex Jones

Tuesday 15 June 2004 6:21:57 am

I believe the Price datatype should indicate that a datatype should act as a product.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

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 01:24:48
Script start
Timing: Jan 19 2025 01:24:48
Module start 'layout'
Timing: Jan 19 2025 01:24:48
Module start 'content'
Timing: Jan 19 2025 01:24:49
Module end 'content'
Timing: Jan 19 2025 01:24:49
Script end

Main resources:

Total runtime0.7042 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.0064 589.2813152.6406
Module start 'layout' 0.00640.0029 741.921939.4766
Module start 'content' 0.00930.6934 781.3984517.5547
Module end 'content' 0.70280.0014 1,298.95318.1250
Script end 0.7042  1,307.0781 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4456160.0002
Check MTime0.00130.1875160.0001
Mysql Total
Database connection0.00170.242810.0017
Mysqli_queries0.661893.9764540.0123
Looping result0.00060.0820520.0000
Template Total0.672295.520.3361
Template load0.00170.248120.0009
Template processing0.670595.208120.3352
Template load and register function0.00020.023210.0002
states
state_id_array0.00100.138710.0010
state_identifier_array0.00070.101220.0004
Override
Cache load0.00150.2070100.0001
Sytem overhead
Fetch class attribute can translate value0.00070.094420.0003
Fetch class attribute name0.00150.217630.0005
XML
Image XML parsing0.00070.101020.0004
class_abstraction
Instantiating content class attribute0.00000.001330.0000
General
dbfile0.00080.1199160.0001
String conversion0.00000.000840.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