Fetch function for list of orders

Author Message

Markus Bader

Tuesday 05 August 2008 2:02:34 am

Hallo,

in a shop I want to get a view for each logged in costumer where he can see all orders he made. There is such a view from the shop module, but we would need to adjust the policies. For some reasons we don't want to do that.

Is there any (fetch) function to get this list in any template?

Thank you.

Markus

Ɓukasz Serwatka

Tuesday 05 August 2008 3:02:26 am

There is no such fetch function. You need to write your own. Feel free to submit enhancement request.

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 18 2025 22:35:29
Script start
Timing: Jan 18 2025 22:35:29
Module start 'layout'
Timing: Jan 18 2025 22:35:29
Module start 'content'
Timing: Jan 18 2025 22:35:30
Module end 'content'
Timing: Jan 18 2025 22:35:30
Script end

Main resources:

Total runtime0.7402 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.0076 589.0391152.6250
Module start 'layout' 0.00760.0050 741.664139.4609
Module start 'content' 0.01260.7261 781.1250522.6094
Module end 'content' 0.73870.0015 1,303.73448.1563
Script end 0.7402  1,311.8906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4714160.0002
Check MTime0.00160.2102160.0001
Mysql Total
Database connection0.00090.127410.0009
Mysqli_queries0.694393.7909540.0129
Looping result0.00060.0779520.0000
Template Total0.699894.520.3499
Template load0.00210.289520.0011
Template processing0.697794.250620.3488
Template load and register function0.00020.030710.0002
states
state_id_array0.00090.124810.0009
state_identifier_array0.00140.195320.0007
Override
Cache load0.00170.2278110.0002
Sytem overhead
Fetch class attribute can translate value0.00050.067520.0002
Fetch class attribute name0.00150.205830.0005
XML
Image XML parsing0.00060.080120.0003
class_abstraction
Instantiating content class attribute0.00000.001530.0000
General
dbfile0.00090.1158180.0000
String conversion0.00000.001340.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