Forums / Developer / Extending User class

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

eZ debug

Timing: Jan 18 2025 14:57:27
Script start
Timing: Jan 18 2025 14:57:27
Module start 'content'
Timing: Jan 18 2025 14:57:27
Module end 'content'
Timing: Jan 18 2025 14:57:27
Script end

Main resources:

Total runtime0.0194 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 587.6094180.8438
Module start 'content' 0.00580.0044 768.453189.7266
Module end 'content' 0.01020.0091 858.179766.7031
Script end 0.0193  924.8828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002211.3808120.0002
Check MTime0.00126.0275120.0001
Mysql Total
Database connection0.00062.957810.0006
Mysqli_queries0.002914.827140.0007
Looping result0.00000.102120.0000
Template Total0.008845.210.0088
Template load0.00084.247210.0008
Template processing0.007940.887310.0079
Override
Cache load0.00052.772010.0005
General
dbfile0.005126.1648100.0005
String conversion0.00000.029530.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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