fetch function question

Author Message

Alessandro Cipriani

Wednesday 07 April 2004 4:05:24 am

hi all
can a fetch function fetch only objects of a section?
i have a site divided into 3 vertical separate sections as follows
1st level: section one
2nd level: section two - section three
each section has his own home page, in which the news (article class) of this section are displayed.i have the problem in the first section because also the news of the others 2 sections are fetched. i wonder if there is a way to limit the fetch range on the section, in order to have only the first section's news.
the alternative will be to add an other class (i.e. section2_article) to be fetched only by the second section. but this will be difficult for the users (too many classes!)

best regards

alessandro

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 13:54:40
Script start
Timing: Jan 19 2025 13:54:40
Module start 'layout'
Timing: Jan 19 2025 13:54:40
Module start 'content'
Timing: Jan 19 2025 13:54:41
Module end 'content'
Timing: Jan 19 2025 13:54:41
Script end

Main resources:

Total runtime0.7161 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0040 589.1484152.6250
Module start 'layout' 0.00400.0031 741.773439.4453
Module start 'content' 0.00710.7076 781.2188434.2422
Module end 'content' 0.71470.0013 1,215.46098.1719
Script end 0.7160  1,223.6328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4507160.0002
Check MTime0.00130.1788160.0001
Mysql Total
Database connection0.00060.081510.0006
Mysqli_queries0.681095.1098460.0148
Looping result0.00040.0502440.0000
Template Total0.690096.420.3450
Template load0.00190.270820.0010
Template processing0.688096.085220.3440
Template load and register function0.00010.013710.0001
states
state_id_array0.00070.099510.0007
state_identifier_array0.00080.113020.0004
Override
Cache load0.00150.2062130.0001
Sytem overhead
Fetch class attribute can translate value0.00040.056210.0004
Fetch class attribute name0.00070.090920.0003
XML
Image XML parsing0.00110.155610.0011
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00190.2623160.0001
String conversion0.00000.001140.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/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
1content/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: 6
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs