Attribute filter

Author Message

laurent le cadet

Thursday 14 June 2007 7:31:28 am

Hi,

It seems to be more or less basic but I can find how to fetch if a text line attribute is empty or not. (I want only objects if a specific text line has content).

Tried :

'attribute_filter', array ( array('realisation/client', '!=' , 0 ) ),
'attribute_filter', array ( array('realisation/client', '!=' ,'' ) ),

...

Any hint ?

Regards

Laurent

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

Main resources:

Total runtime0.6084 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 587.8125152.6094
Module start 'layout' 0.00640.0025 740.421939.4141
Module start 'content' 0.00890.5981 779.8359433.9766
Module end 'content' 0.60700.0013 1,213.81258.1875
Script end 0.6083  1,222.0000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.5984160.0002
Check MTime0.00150.2547160.0001
Mysql Total
Database connection0.00100.166910.0010
Mysqli_queries0.565692.9675460.0123
Looping result0.00050.0752440.0000
Template Total0.578695.120.2893
Template load0.00210.350820.0011
Template processing0.576594.758220.2882
Template load and register function0.00020.025310.0002
states
state_id_array0.00080.133310.0008
state_identifier_array0.00200.332020.0010
Override
Cache load0.00180.2908130.0001
Sytem overhead
Fetch class attribute can translate value0.00120.195610.0012
Fetch class attribute name0.00080.135620.0004
XML
Image XML parsing0.00050.088310.0005
class_abstraction
Instantiating content class attribute0.00000.000820.0000
General
dbfile0.00090.1399160.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 7
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs