class with array attribs

Author Message

Andrew Kelly

Monday 14 November 2005 6:33:04 am

Hi all,
I need to create some classes that have attributes of multi-select arrays. For example, countries assigned to a particular region, or spoken languages assigned to a particular user.
Can anybody point me to some pertinent documentation or appropriate forum postings?

Thanks a ton,

Andy

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

Main resources:

Total runtime0.8254 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.0077 590.2734152.6250
Module start 'layout' 0.00770.0032 742.898439.4453
Module start 'content' 0.01090.8127 782.3438433.0313
Module end 'content' 0.82360.0017 1,215.37508.1641
Script end 0.8254  1,223.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.4627160.0002
Check MTime0.00160.1970160.0001
Mysql Total
Database connection0.00180.222310.0018
Mysqli_queries0.781194.6336460.0170
Looping result0.00060.0696440.0000
Template Total0.786795.320.3934
Template load0.00260.314220.0013
Template processing0.784194.994120.3920
Template load and register function0.00010.013010.0001
states
state_id_array0.00150.185710.0015
state_identifier_array0.00160.197620.0008
Override
Cache load0.00210.251890.0002
Sytem overhead
Fetch class attribute can translate value0.00110.127510.0011
Fetch class attribute name0.00100.116520.0005
XML
Image XML parsing0.00060.074510.0006
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00100.1157160.0001
String conversion0.00000.000840.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 6
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs