Can i refer to classes by name instead of number?

Author Message

Douglas Hammond

Friday 20 June 2003 11:00:47 am

eg

{let children=fetch('content','list', hash("parent_node_id",2,
"sort_by",array('priority',true()),
"offset", $view_parameters.offset,
"class_filter_type", 'include',
"class_filter_array", array( 1, 15 ) ))

i would lov eto be able to do

"class_filter_array", array( 'folder', 'link' ) ))

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 31 2025 01:32:46
Script start
Timing: Jan 31 2025 01:32:46
Module start 'layout'
Timing: Jan 31 2025 01:32:46
Module start 'content'
Timing: Jan 31 2025 01:32:46
Module end 'content'
Timing: Jan 31 2025 01:32:46
Script end

Main resources:

Total runtime0.0234 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.2813151.2266
Module start 'layout' 0.00560.0045 739.5078220.7188
Module start 'content' 0.01010.0119 960.2266993.7266
Module end 'content' 0.02200.0014 1,953.953129.9922
Script end 0.0234  1,983.9453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002711.4070140.0002
Check MTime0.00114.5933140.0001
Mysql Total
Database connection0.00072.932610.0007
Mysqli_queries0.003314.254230.0011
Looping result0.00000.161810.0000
Template Total0.00104.310.0010
Template load0.00083.337610.0008
Template processing0.00020.931110.0002
Override
Cache load0.00062.377110.0006
General
dbfile0.00021.008480.0000
String conversion0.00000.029540.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