how to use all parameters in fetch function?

Author Message

Quynh Nguyen

Thursday 05 March 2009 8:08:47 am

Prototype of this fetch function in filter class:

	function fetch( $parameters, $publishedAfter, $publishedBeforeOrAt )

But I don't know how to use parameters: $publishedAfter and $publishedBeforeOrAt from template or from block definition?

Ly Lo Cong

Friday 13 March 2009 4:08:34 am

I don't think you can change those parameters from templates or settings.
The $publishedAfter returns the timestamp of the last update of the block, and the $publishedBeforeOrAt returns the current timestamp.

http://auth.ez.no/certification/verify/402698

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

Main resources:

Total runtime0.0168 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.0070 589.2109152.6406
Module start 'layout' 0.00700.0032 741.851639.4766
Module start 'content' 0.01020.0044 781.328190.4609
Module end 'content' 0.01470.0020 871.789130.3047
Script end 0.0167  902.0938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002816.5692140.0002
Check MTime0.00127.2269140.0001
Mysql Total
Database connection0.00084.856810.0008
Mysqli_queries0.003721.993730.0012
Looping result0.00000.072610.0000
Template Total0.001710.010.0017
Template load0.00095.346210.0009
Template processing0.00084.666210.0008
Override
Cache load0.00063.723010.0006
General
dbfile0.00021.051380.0000
String conversion0.00000.048440.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