Problem in fetch..?

Author Message

Satheesh R

Monday 04 December 2006 5:56:47 am

Dear All,

I have a problem in fetching the atributes, I have two class say CLS1 & CLS2

CLS1 has
1. Name
2. Date

inputs like
------------
one - 12/12/06
two - 13/12/06

CLS2 has
1. Name
2. Obect relation (Drop down ) - CLS1
3. Date

inputs like
------------
aaa - one - 11/12/06
bbb - two - 14/12/06
ccc - one - 15/12/06

now i want to select "one" with CLS2 attributes (aaa, ccc) which has the relation with one in CLS2.

i want the output like this:
1. one
aaa
ccc
2. two
bbb

Pls give a solution to achive the above

Thanks & regards
Satheesh R

Thanks and Regards
R Satheesh

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 21 2025 20:48:34
Script start
Timing: Jan 21 2025 20:48:34
Module start 'layout'
Timing: Jan 21 2025 20:48:34
Module start 'content'
Timing: Jan 21 2025 20:48:34
Module end 'content'
Timing: Jan 21 2025 20:48:34
Script end

Main resources:

Total runtime0.0143 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.0053 587.7969151.1953
Module start 'layout' 0.00530.0026 738.992236.6172
Module start 'content' 0.00790.0046 775.609486.0156
Module end 'content' 0.01260.0017 861.625029.9922
Script end 0.0143  891.6172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002517.5655140.0002
Check MTime0.00107.1729140.0001
Mysql Total
Database connection0.00085.899610.0008
Mysqli_queries0.002819.333730.0009
Looping result0.00000.091710.0000
Template Total0.00128.410.0012
Template load0.00106.932910.0010
Template processing0.00021.446610.0002
Override
Cache load0.00075.236310.0007
General
dbfile0.00031.936580.0000
String conversion0.00000.111740.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