Fetch within fetched objects

Author Message

paul bolger

Wednesday 06 June 2007 12:23:37 am

I'm trying to customise the Agenda2 templates.

The Calendar Event content class now has a datatype to relate an Organisation out of our 'Organisations' directory.

The Agenda2 template agenda2.tpl does a fetch on Calendar Event objects for the current month. What I'm trying to do is do a fetch on the related objects for each of the fetched objects... Can anyone give me any hints on how to achieve this?

regards
Paul Bolger

Paul Bolger

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 31 2025 04:29:25
Script start
Timing: Jan 31 2025 04:29:25
Module start 'layout'
Timing: Jan 31 2025 04:29:25
Module start 'content'
Timing: Jan 31 2025 04:29:25
Module end 'content'
Timing: Jan 31 2025 04:29:25
Script end

Main resources:

Total runtime0.0307 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0157 588.1328151.2109
Module start 'layout' 0.01570.0025 739.343836.6484
Module start 'content' 0.01820.0108 775.992286.1406
Module end 'content' 0.02900.0017 862.132829.9922
Script end 0.0307  892.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00247.9056140.0002
Check MTime0.00113.4689140.0001
Mysql Total
Database connection0.00237.350010.0023
Mysqli_queries0.003411.178230.0011
Looping result0.00000.159110.0000
Template Total0.00123.810.0012
Template load0.00092.910210.0009
Template processing0.00030.918110.0003
Override
Cache load0.00062.044110.0006
General
dbfile0.00247.704680.0003
String conversion0.00000.028740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs