Create my own Trigger

Author Message

Florent Hache

Tuesday 01 December 2009 2:15:39 am

Hello everybody,

I want to create my own Trigger but i don't have any knowledge in this domain,

I have a class and in this class i have a checkbox when an user of the group class "editor" create an instance of this class and if the checkbox was checked i will want a trigger run and after it will generate workflows

Is this possible ?

Thanks for your help

Florent Hache

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 10:35:33
Script start
Timing: Jan 18 2025 10:35:33
Module start 'layout'
Timing: Jan 18 2025 10:35:33
Module start 'content'
Timing: Jan 18 2025 10:35:34
Module end 'content'
Timing: Jan 18 2025 10:35:34
Script end

Main resources:

Total runtime0.6598 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.0065 587.8906152.6094
Module start 'layout' 0.00650.0028 740.500039.4141
Module start 'content' 0.00940.6490 779.9141398.1094
Module end 'content' 0.65830.0014 1,178.02348.1875
Script end 0.6597  1,186.2109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5037160.0002
Check MTime0.00130.1990160.0001
Mysql Total
Database connection0.00140.212310.0014
Mysqli_queries0.619893.9432460.0135
Looping result0.00050.0696440.0000
Template Total0.626094.920.3130
Template load0.00200.305920.0010
Template processing0.623994.566520.3120
Template load and register function0.00010.022110.0001
states
state_id_array0.00130.192310.0013
state_identifier_array0.00220.331020.0011
Override
Cache load0.00160.245790.0002
Sytem overhead
Fetch class attribute can translate value0.00050.076110.0005
Fetch class attribute name0.00120.185510.0012
XML
Image XML parsing0.00010.017710.0001
class_abstraction
Instantiating content class attribute0.00000.001110.0000
General
dbfile0.00180.2770100.0002
String conversion0.00000.001440.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs