declaration

Author Message

jb bianchi

Tuesday 09 August 2005 5:56:19 am

How can I declare an array in a let ?
{let array=array[] }

thank's

David Eriksson

Tuesday 09 August 2005 6:08:42 am

{def $myarray=array()}

Or, with the older syntax:

{let myarray=array()}

/David

jb bianchi

Tuesday 09 August 2005 6:14:16 am

thank's for your answer

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 07:04:09
Script start
Timing: Jan 19 2025 07:04:09
Module start 'layout'
Timing: Jan 19 2025 07:04:09
Module start 'content'
Timing: Jan 19 2025 07:04:11
Module end 'content'
Timing: Jan 19 2025 07:04:11
Script end

Main resources:

Total runtime1.6140 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.0072 589.0313152.6094
Module start 'layout' 0.00720.0044 741.640639.3984
Module start 'content' 0.01161.6008 781.0391493.3359
Module end 'content' 1.61240.0015 1,274.37508.2031
Script end 1.6139  1,282.5781 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2199160.0002
Check MTime0.00140.0851160.0001
Mysql Total
Database connection0.00140.085910.0014
Mysqli_queries1.568997.2074570.0275
Looping result0.00060.0390550.0000
Template Total1.574797.620.7873
Template load0.00230.142320.0011
Template processing1.572397.422220.7862
Template load and register function0.00020.012010.0002
states
state_id_array0.00170.107910.0017
state_identifier_array0.00180.112320.0009
Override
Cache load0.00190.1169120.0002
Sytem overhead
Fetch class attribute can translate value0.00070.042220.0003
Fetch class attribute name0.00170.104530.0006
XML
Image XML parsing0.00030.018120.0001
class_abstraction
Instantiating content class attribute0.00000.000530.0000
General
dbfile0.00080.0510100.0001
String conversion0.00000.002540.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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs