Plain debug

Author Message

Frank Narstadgrend

Tuesday 22 November 2005 2:21:26 pm

Hi,

My question is simple:

Is there any function at the template level that makes it possible to perform a raw simple variable/object dump?
As simple as PHPs var_dump() | print_r().

Tanks!

Gurudutt Verma

Wednesday 23 November 2005 4:15:08 am

Hi!

try this

{$node|attribute(show)}

:-)

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 00:30:54
Script start
Timing: Jan 19 2025 00:30:54
Module start 'layout'
Timing: Jan 19 2025 00:30:54
Module start 'content'
Timing: Jan 19 2025 00:30:55
Module end 'content'
Timing: Jan 19 2025 00:30:55
Script end

Main resources:

Total runtime0.6075 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.0046 587.7813152.6094
Module start 'layout' 0.00460.0027 740.390639.3984
Module start 'content' 0.00730.5987 779.7891490.0391
Module end 'content' 0.60600.0015 1,269.82818.3594
Script end 0.6075  1,278.1875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.4940160.0002
Check MTime0.00130.2071160.0001
Mysql Total
Database connection0.00060.094710.0006
Mysqli_queries0.564892.9751540.0105
Looping result0.00050.0840520.0000
Template Total0.579695.420.2898
Template load0.00190.309820.0009
Template processing0.577795.102020.2889
Template load and register function0.00030.041210.0003
states
state_id_array0.00100.160010.0010
state_identifier_array0.00080.132720.0004
Override
Cache load0.00150.2505140.0001
Sytem overhead
Fetch class attribute can translate value0.00070.108520.0003
Fetch class attribute name0.00250.405830.0008
XML
Image XML parsing0.00110.188620.0006
class_abstraction
Instantiating content class attribute0.00000.003030.0000
General
dbfile0.00070.1228160.0000
String conversion0.00000.001140.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
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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/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: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs