Query Result

Author Message

Przemek Niemczuk

Saturday 07 February 2009 6:32:12 am

Hi

I have the TEMP folder, there are several subfolders temp1, temp2, temp3 ... temp20.

I would like for the main site to post the latest 5 entries in the Temp folder, but the request must include subfolders temp1, temp2 ...

How does it perform?

best regards,

Przemek

primo

Ɓukasz Serwatka

Saturday 07 February 2009 12:27:06 pm

Hi,

Use tree fetch function:
http://ez.no/doc/ez_publish/technical_manual/4_0/reference/modules/content/fetch_functions/tree

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Gary Teh

Sunday 08 February 2009 11:02:49 am

You might also want to use the filters to make the response be more exact to your requirements. Saves resources

http://name1price.com : Get a Cool website for yourself and also learn how to manage it. It is easy. Use it to get more customers for your business.

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 11:22:37
Script start
Timing: Jan 18 2025 11:22:37
Module start 'layout'
Timing: Jan 18 2025 11:22:37
Module start 'content'
Timing: Jan 18 2025 11:22:38
Module end 'content'
Timing: Jan 18 2025 11:22:38
Script end

Main resources:

Total runtime0.8939 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0091 589.0234152.6250
Module start 'layout' 0.00910.0035 741.648439.4453
Module start 'content' 0.01260.8797 781.0938573.5469
Module end 'content' 0.89230.0015 1,354.640612.1797
Script end 0.8938  1,366.8203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3687160.0002
Check MTime0.00140.1571160.0001
Mysql Total
Database connection0.00070.077010.0007
Mysqli_queries0.840193.9862590.0142
Looping result0.00090.1018570.0000
Template Total0.849395.020.4247
Template load0.00210.229520.0010
Template processing0.847394.788120.4236
Template load and register function0.00020.018510.0002
states
state_id_array0.00130.142610.0013
state_identifier_array0.00120.138520.0006
Override
Cache load0.00170.1868170.0001
Sytem overhead
Fetch class attribute can translate value0.00100.107730.0003
Fetch class attribute name0.00150.171250.0003
XML
Image XML parsing0.00100.113430.0003
class_abstraction
Instantiating content class attribute0.00000.001350.0000
General
dbfile0.00380.4213230.0002
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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs