Tutorials & articles written by Quoc Huy Nguyen Dinh

Creating a simple custom workflow event

This tutorial will guide you through the development of a simple eZ Publish workflow event. At the end of the tutorial, you should be able to create your own workflow event, configure a workflow that would execute the event and configure workflow triggers in the admin interface.

Note : the PDF version of this tutorial, as well as the downloadable extension are here.

 
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 17 2025 23:41:03
Script start
Timing: Jan 17 2025 23:41:03
Module start 'layout'
Timing: Jan 17 2025 23:41:03
Module start 'community'
Timing: Jan 17 2025 23:41:03
Module end 'community'
Timing: Jan 17 2025 23:41:03
Script end

Main resources:

Total runtime0.0519 sec
Peak memory usage4,096.0000 KB
Database Queries25

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 589.2188152.6094
Module start 'layout' 0.00500.0024 741.828131.6719
Module start 'community' 0.00740.0434 773.5000437.9688
Module end 'community' 0.05080.0011 1,211.468810.6406
Script end 0.0519  1,222.1094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00346.4606140.0002
Check MTime0.00163.1095140.0001
Mysql Total
Database connection0.00061.109510.0006
Mysqli_queries0.028154.0351250.0011
Looping result0.00020.3205220.0000
Template Total0.035267.720.0176
Template load0.00122.332520.0006
Template processing0.033965.374720.0170
Template load and register function0.00010.158010.0001
Override
Cache load0.00091.671690.0001
states
state_id_array0.00142.719610.0014
state_identifier_array0.00040.774310.0004
Sytem overhead
Fetch class attribute name0.00061.171110.0006
class_abstraction
Instantiating content class attribute0.00000.015610.0000
General
dbfile0.00010.271970.0000
String conversion0.00000.016130.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1community/articles.tpl<No override>extension/community_design/design/suncana/templates/community/articles.tplEdit templateOverride template
1content/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/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1content/datatype/view/ezxmltags/emphasize.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/emphasize.tplEdit templateOverride template
1content/datatype/view/ezxmltags/separator.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltags/separator.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs