workflow - extension interaction

Author Message

Alessandro Cipriani

Thursday 15 July 2004 5:47:21 am

hi all

i wrote a template function extension that 'do something' when called as follows:
{"xxx"|myfunction(myparam)}
now i'd like to have a workflow triggered after a publish event that starts that function

is it possible?
how?

best regards
alessandro

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:06:34
Script start
Timing: Jan 19 2025 07:06:34
Module start 'layout'
Timing: Jan 19 2025 07:06:34
Module start 'content'
Timing: Jan 19 2025 07:06:35
Module end 'content'
Timing: Jan 19 2025 07:06:35
Script end

Main resources:

Total runtime1.6827 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 590.2891152.6250
Module start 'layout' 0.00700.0046 742.914139.4609
Module start 'content' 0.01161.6698 782.3750436.3047
Module end 'content' 1.68140.0012 1,218.67978.1563
Script end 1.6827  1,226.8359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2109160.0002
Check MTime0.00130.0786160.0001
Mysql Total
Database connection0.00080.048510.0008
Mysqli_queries1.639897.4527460.0356
Looping result0.00060.0366440.0000
Template Total1.628496.820.8142
Template load0.00270.161220.0014
Template processing1.625796.610820.8128
Template load and register function0.00010.006210.0001
states
state_id_array0.00170.101910.0017
state_identifier_array0.00250.151220.0013
Override
Cache load0.00230.1388120.0002
Sytem overhead
Fetch class attribute can translate value0.00070.042910.0007
Fetch class attribute name0.00090.054420.0005
XML
Image XML parsing0.00050.031010.0005
class_abstraction
Instantiating content class attribute0.00000.000320.0000
General
dbfile0.00080.0467160.0000
String conversion0.00000.000840.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/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
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