Extending User class

Author Message

Jerry Jalava

Tuesday 19 August 2003 2:20:48 am

Hi,

How can I extend my user class? I need some additional fields to it, which are shown only when the user is changing his own information...

Can I just edit the user class? Will it save the data normally?
Or is there some other way to accomplish this?

Is it possible to have two different User classes? One for users and one for admins/editors?

Thanks,
Jerry

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

Main resources:

Total runtime0.8530 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.0128 588.9453152.6094
Module start 'layout' 0.01280.0034 741.554739.4141
Module start 'content' 0.01620.8356 780.9688400.5547
Module end 'content' 0.85180.0011 1,181.52348.1875
Script end 0.8529  1,189.7109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3733160.0002
Check MTime0.00130.1528160.0001
Mysql Total
Database connection0.00100.121610.0010
Mysqli_queries0.817095.7872460.0178
Looping result0.00040.0507440.0000
Template Total0.817195.820.4086
Template load0.00210.246220.0010
Template processing0.815095.552420.4075
Template load and register function0.00020.028310.0002
states
state_id_array0.00040.043010.0004
state_identifier_array0.00100.117320.0005
Override
Cache load0.00170.2010100.0002
Sytem overhead
Fetch class attribute can translate value0.00040.043410.0004
Fetch class attribute name0.00080.098410.0008
XML
Image XML parsing0.00010.015110.0001
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00060.0696100.0001
String conversion0.00000.001240.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
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: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs