Attribute Filter

Author Message

Mahesh Arvind

Saturday 22 May 2004 1:48:24 am

I am doing an attribute filter on articles based on languages. $tran.data_map.language.content contains the language name. 424 refers to a pull down menu, where I have the languages listed. When I execute this querry, I get all the languages.

{let trannode=fetch('content','list',hash( parent_node_id, "2683",
class_filter_type, "include", class_filter_array, array(42), 'attribute_filter', array(array(424, '=', $tran.data_map.language.content))))}

Please help on this.

Thanks
Mahesh

Thanks & Regards
Mahesh

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 22:30:38
Script start
Timing: Jan 18 2025 22:30:38
Module start 'layout'
Timing: Jan 18 2025 22:30:38
Module start 'content'
Timing: Jan 18 2025 22:30:39
Module end 'content'
Timing: Jan 18 2025 22:30:39
Script end

Main resources:

Total runtime1.0765 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.0114 587.7969152.6094
Module start 'layout' 0.01140.0035 740.406339.4297
Module start 'content' 0.01491.0598 779.8359463.2500
Module end 'content' 1.07470.0018 1,243.08598.3438
Script end 1.0765  1,251.4297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.3860160.0003
Check MTime0.00150.1403160.0001
Mysql Total
Database connection0.00160.149410.0016
Mysqli_queries1.032295.8873460.0224
Looping result0.00050.0448440.0000
Template Total1.037596.420.5188
Template load0.00200.184820.0010
Template processing1.035596.194820.5178
Template load and register function0.00010.010410.0001
states
state_id_array0.00090.085610.0009
state_identifier_array0.00140.128220.0007
Override
Cache load0.00160.1470100.0002
Sytem overhead
Fetch class attribute can translate value0.00050.048410.0005
Fetch class attribute name0.00100.092920.0005
XML
Image XML parsing0.00040.035610.0004
class_abstraction
Instantiating content class attribute0.00000.000420.0000
General
dbfile0.00080.0759160.0001
String conversion0.00000.001140.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
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/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: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs