Storing data redux

Author Message

Trond Åge Kvalø

Tuesday 17 February 2004 4:53:32 am

Hi again folks!

At the risk of exposing myself as a woolheaded dimwit, I just have to ask:

Is there no template function for storing data? Do I really have to make a custom template function or extension?

I mean I can fetch data using template functions, so I've been assuming that there was a similar template function for storing data, but as mentioned I may not see the forest for the trees.

And does the eZ crew have an ETA on the documentation for creating custom template functions?

trondåge

trondåge

Eirik Alfstad Johansen

Tuesday 17 February 2004 6:58:28 am

Hi Trond,

AFAIK, it's not possible to store data using any template functions, nor do I understand why you would want to. In my eyes, putting this sort of functionality in separate modules/views makes more sense as it gives you access to the entire arsenal of PHP functions.

Sincerely,

Eirik Johansen

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

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:20:59
Script start
Timing: Jan 18 2025 18:20:59
Module start 'layout'
Timing: Jan 18 2025 18:20:59
Module start 'content'
Timing: Jan 18 2025 18:21:00
Module end 'content'
Timing: Jan 18 2025 18:21:00
Script end

Main resources:

Total runtime0.9365 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.0081 587.7969152.6094
Module start 'layout' 0.00810.0056 740.406339.4297
Module start 'content' 0.01370.9212 779.8359518.9531
Module end 'content' 0.93490.0016 1,298.78918.1875
Script end 0.9365  1,306.9766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.3921160.0002
Check MTime0.00150.1562160.0001
Mysql Total
Database connection0.00150.159010.0015
Mysqli_queries0.886594.6603540.0164
Looping result0.00060.0667520.0000
Template Total0.892995.320.4465
Template load0.00190.204120.0010
Template processing0.891095.139120.4455
Template load and register function0.00020.020610.0002
states
state_id_array0.00110.113510.0011
state_identifier_array0.00270.285020.0013
Override
Cache load0.00150.1646150.0001
Sytem overhead
Fetch class attribute can translate value0.00110.118820.0006
Fetch class attribute name0.00140.148430.0005
XML
Image XML parsing0.00060.061820.0003
class_abstraction
Instantiating content class attribute0.00000.000830.0000
General
dbfile0.00080.0875160.0001
String conversion0.00000.001940.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
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs