Fetching by modified attribute

Author Message

Dries Samyn

Thursday 16 June 2005 9:27:55 am

I would like to fetch all notes that have been modified in the last x time (1 hour or 1 day in my case), but I can't figure out how to write the attribute_filter.
Has anybody done something like this?

Thanks,

Dries.

Ɓukasz Serwatka

Tuesday 21 June 2005 12:05:22 am

Hi,

Look at this topic
http://www.ez.no/community/forum/setup_design/a_news_archive_by_month_problem_filtering_by_date

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 19:16:15
Script start
Timing: Jan 18 2025 19:16:15
Module start 'layout'
Timing: Jan 18 2025 19:16:15
Module start 'content'
Timing: Jan 18 2025 19:16:15
Module end 'content'
Timing: Jan 18 2025 19:16:15
Script end

Main resources:

Total runtime0.9090 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.0063 587.9141152.6250
Module start 'layout' 0.00640.0028 740.539139.4453
Module start 'content' 0.00920.8983 779.9844524.6484
Module end 'content' 0.90750.0015 1,304.63288.1641
Script end 0.9090  1,312.7969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3862160.0002
Check MTime0.00130.1481160.0001
Mysql Total
Database connection0.00090.093910.0009
Mysqli_queries0.864895.1312540.0160
Looping result0.00080.0835520.0000
Template Total0.877296.520.4386
Template load0.00210.226120.0010
Template processing0.875196.269020.4375
Template load and register function0.00030.030310.0003
states
state_id_array0.00070.074510.0007
state_identifier_array0.00110.118220.0005
Override
Cache load0.00170.1879120.0001
Sytem overhead
Fetch class attribute can translate value0.00090.093720.0004
Fetch class attribute name0.00110.119330.0004
XML
Image XML parsing0.00070.074320.0003
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00100.1050180.0001
String conversion0.00000.000940.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/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/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: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs