List ezUsers

Author Message

Franck T.

Friday 03 February 2006 2:35:18 am

Hello,
I've modified the basic User class to add a new attribute named Service. So new users have to select the service they belong when registering.
In the same time, i've created a new class named Service with attributes like Name, Central Phone, etc.
Now , when clicking on a specific Service I can display its informations (name; etc...) but I'd also like to list all users belonging to that service.
Some ideas on how to implement this ?

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

Main resources:

Total runtime0.6016 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.0061 588.9063152.6094
Module start 'layout' 0.00610.0044 741.515639.4141
Module start 'content' 0.01050.5897 780.9297399.8047
Module end 'content' 0.60020.0014 1,180.73448.1953
Script end 0.6015  1,188.9297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5532160.0002
Check MTime0.00130.2170160.0001
Mysql Total
Database connection0.00080.132710.0008
Mysqli_queries0.565093.9228460.0123
Looping result0.00040.0694440.0000
Template Total0.564293.820.2821
Template load0.00220.373320.0011
Template processing0.562093.418420.2810
Template load and register function0.00020.028810.0002
states
state_id_array0.00190.312210.0019
state_identifier_array0.00090.153620.0005
Override
Cache load0.00180.299580.0002
Sytem overhead
Fetch class attribute can translate value0.00060.103410.0006
Fetch class attribute name0.00060.104710.0006
XML
Image XML parsing0.00010.018910.0001
class_abstraction
Instantiating content class attribute0.00000.000710.0000
General
dbfile0.00060.0996100.0001
String conversion0.00000.001940.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs