Forums / Extensions / eZ Flow / how to use all parameters in fetch function?

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

eZ debug

Timing: Jan 18 2025 02:08:05
Script start
Timing: Jan 18 2025 02:08:05
Module start 'content'
Timing: Jan 18 2025 02:08:05
Module end 'content'
Timing: Jan 18 2025 02:08:05
Script end

Main resources:

Total runtime0.0190 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0081 594.8672181.5859
Module start 'content' 0.00810.0052 776.453195.3750
Module end 'content' 0.01320.0057 871.828170.7031
Script end 0.0189  942.5313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002312.0461120.0002
Check MTime0.00105.3573120.0001
Mysql Total
Database connection0.00105.071910.0010
Mysqli_queries0.003317.638640.0008
Looping result0.00000.115720.0000
Template Total0.005428.310.0054
Template load0.00094.602910.0009
Template processing0.004523.645910.0045
Override
Cache load0.00063.143210.0006
General
dbfile0.00094.7689100.0001
String conversion0.00000.047830.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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