add one class as an attribute for the other class..?

Author Message

Satheesh R

Monday 06 November 2006 10:55:56 pm

Hello all

i created a class with some attributes like textline, textblock and image. now i want this new difned class as single attribute for the other class is it possible..if so pls show me a way to create this.

thanks and regards
R satheesh

Thanks and Regards
R Satheesh

Claudia Kosny

Tuesday 07 November 2006 11:50:24 am

Hi Satheesh

Maybe you can use related objects for this:
http://ez.no/doc/ez_publish/technical_manual/3_8/concepts_and_basics/content_management/object_relations

Good luck

Claudia

Satheesh R

Tuesday 07 November 2006 9:50:44 pm

Hi Claudia Kosny

Thanks a lot Konsy

-
R Satheesh

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 19 2025 06:10:21
Script start
Timing: Jan 19 2025 06:10:21
Module start 'layout'
Timing: Jan 19 2025 06:10:21
Module start 'content'
Timing: Jan 19 2025 06:10:22
Module end 'content'
Timing: Jan 19 2025 06:10:22
Script end

Main resources:

Total runtime1.3546 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 589.2891152.6406
Module start 'layout' 0.00530.0028 741.929739.4922
Module start 'content' 0.00821.3447 781.4219496.1484
Module end 'content' 1.35280.0017 1,277.57038.1250
Script end 1.3545  1,285.6953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2532160.0002
Check MTime0.00160.1175160.0001
Mysql Total
Database connection0.00080.062110.0008
Mysqli_queries1.310496.7408570.0230
Looping result0.00050.0401550.0000
Template Total1.320097.520.6600
Template load0.00200.149020.0010
Template processing1.318097.300420.6590
Template load and register function0.00030.019110.0003
states
state_id_array0.00140.104110.0014
state_identifier_array0.00290.211420.0014
Override
Cache load0.00160.1216180.0001
Sytem overhead
Fetch class attribute can translate value0.00050.037520.0003
Fetch class attribute name0.00090.067230.0003
XML
Image XML parsing0.00030.025620.0002
class_abstraction
Instantiating content class attribute0.00000.000530.0000
General
dbfile0.00070.0512100.0001
String conversion0.00000.000640.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 14
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs