Comments on the templates

Author Message

ganga ma

Thursday 04 May 2006 2:17:24 am

Hi,

For those who like to use the comments while developing:

Anybody has a suggestion or guidelines about how to document the code commenting on the templates?
( for a possible implementation of phpxref of doxygen )

greetings

Sirvash Sharma

Friday 05 May 2006 12:07:48 am

Hi Ganga ma,
I am not getting your question in proper way please explore it.
you can try these code for template comments.
Ex.
for single line. # or {* ..........comment line.......... *}

Thanks
Sirvash Sharma

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 19:21:13
Script start
Timing: Jan 18 2025 19:21:13
Module start 'layout'
Timing: Jan 18 2025 19:21:13
Module start 'content'
Timing: Jan 18 2025 19:21:14
Module end 'content'
Timing: Jan 18 2025 19:21:14
Script end

Main resources:

Total runtime0.7831 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 587.9141152.6250
Module start 'layout' 0.00570.0040 740.539139.4453
Module start 'content' 0.00960.7721 779.9844490.7656
Module end 'content' 0.78170.0013 1,270.75008.1641
Script end 0.7831  1,278.9141 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4269160.0002
Check MTime0.00130.1683160.0001
Mysql Total
Database connection0.00070.091110.0007
Mysqli_queries0.734893.8271540.0136
Looping result0.00050.0585520.0000
Template Total0.746995.420.3734
Template load0.00200.259720.0010
Template processing0.744895.111320.3724
Template load and register function0.00020.021610.0002
states
state_id_array0.00280.361410.0028
state_identifier_array0.00200.255220.0010
Override
Cache load0.00180.2292170.0001
Sytem overhead
Fetch class attribute can translate value0.00100.130020.0005
Fetch class attribute name0.00110.146730.0004
XML
Image XML parsing0.00420.529920.0021
class_abstraction
Instantiating content class attribute0.00000.001430.0000
General
dbfile0.00410.5232160.0003
String conversion0.00000.001240.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs