attribute filter problems

Author Message

Mads Ovesen

Monday 14 November 2005 3:02:33 am

Is it possible to have more than one logical operator in the attribute filter array? For example:

attribute_filter,array('and', array('or',
                 array(197, '<' , currentdate()),
                 array(197, '=' , 0)),
                 array('or',
                 array(198, '>' , currentdate()),
                 array(198, '=' , 0)))

/m

Kristof Coomans

Wednesday 16 November 2005 12:18:21 am

I don't think this is possible at the moment.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

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 09:38:20
Script start
Timing: Jan 19 2025 09:38:20
Module start 'layout'
Timing: Jan 19 2025 09:38:20
Module start 'content'
Timing: Jan 19 2025 09:38:20
Module end 'content'
Timing: Jan 19 2025 09:38:20
Script end

Main resources:

Total runtime0.0219 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.0114 590.7578152.6250
Module start 'layout' 0.01140.0030 743.382839.4453
Module start 'content' 0.01440.0054 782.828189.3516
Module end 'content' 0.01990.0020 872.179730.3047
Script end 0.0219  902.4844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002410.8309140.0002
Check MTime0.00114.7989140.0001
Mysql Total
Database connection0.00073.127010.0007
Mysqli_queries0.003415.499230.0011
Looping result0.00000.086010.0000
Template Total0.00167.310.0016
Template load0.00094.040210.0009
Template processing0.00073.272910.0007
Override
Cache load0.00062.739610.0006
General
dbfile0.00125.607680.0002
String conversion0.00000.050140.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