Dynamically sized class attributes

Author Message

Randeep Walia

Wednesday 08 September 2004 3:43:11 pm

How about the ability to specify 'is-array' for any class attribute? This way we can create things like multi-paged articles in a more concise way.

You would specify body text as 'is-array' and you can create as many bodies (pages, in this example) as you want.

You could even specify if it is a hash array or just an index array.

__________________________________
Randeep Walia is http://www.rundeep.net powered by EZ Publish

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

Main resources:

Total runtime0.0134 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 587.9375152.6250
Module start 'layout' 0.00490.0026 740.562539.4453
Module start 'content' 0.00740.0041 780.007885.2422
Module end 'content' 0.01160.0018 865.250030.3047
Script end 0.0134  895.5547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002518.9858140.0002
Check MTime0.00128.5808140.0001
Mysql Total
Database connection0.00053.747810.0005
Mysqli_queries0.002317.417430.0008
Looping result0.00000.088810.0000
Template Total0.001511.510.0015
Template load0.00096.458310.0009
Template processing0.00075.007110.0007
Override
Cache load0.00074.998210.0007
General
dbfile0.00021.671480.0000
String conversion0.00000.046240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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