How to search through multi-attribute under the same class

Author Message

Toms King

Friday 18 August 2006 12:18:45 am

Hi, all,

As the topic say, I need to custom the search function that, when provide some attribute values under the same class, for example, the attribute "title" and "author" for the class "article", how can I achieve this? anyway, seems I need to use the fetch search function.

Or is there function that can achieve that when I provide two arrays, result will generated as an array that contains all the items exists in both arrays.

Thank you very much for attention.

Best regards,

Toms

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 01:08:25
Script start
Timing: Jan 19 2025 01:08:25
Module start 'layout'
Timing: Jan 19 2025 01:08:25
Module start 'content'
Timing: Jan 19 2025 01:08:25
Module end 'content'
Timing: Jan 19 2025 01:08:25
Script end

Main resources:

Total runtime0.0157 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.0064 590.5313152.6563
Module start 'layout' 0.00640.0028 743.187539.5078
Module start 'content' 0.00920.0045 782.695385.1953
Module end 'content' 0.01370.0019 867.890630.3047
Script end 0.0157  898.1953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002817.5745140.0002
Check MTime0.00159.3617140.0001
Mysql Total
Database connection0.00106.443810.0010
Mysqli_queries0.002113.544130.0007
Looping result0.00000.171710.0000
Template Total0.001610.210.0016
Template load0.00095.864710.0009
Template processing0.00074.341910.0007
Override
Cache load0.00074.493910.0007
General
dbfile0.00021.338980.0000
String conversion0.00000.069940.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