Edit Handler content object publication

Author Message

Jérémie Caulier

Sunday 03 July 2011 3:58:15 am

Hello,

I am looking for documentation about eZ Publish edit handler content object.

I want when to intercept object publication and return error message if necessary via external PHP script.

Do you know where I can find documentation or tutorials on this? 

Thnx for your help.

Gabriel Finkelstein

Sunday 03 July 2011 9:52:40 am

Maybe this will help you

http://serwatka.net/blog/ez_publish_3_8_new_custom_edit_handler

although I don't know if it's still valid for 4.5.

And this:

http://pubsvn.ez.no/doxygen/4.1/html/classeZContentObjectEditHandler.html

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 01:56:24
Script start
Timing: Jan 18 2025 01:56:24
Module start 'layout'
Timing: Jan 18 2025 01:56:24
Module start 'content'
Timing: Jan 18 2025 01:56:24
Module end 'content'
Timing: Jan 18 2025 01:56:24
Script end

Main resources:

Total runtime0.6724 sec
Peak memory usage4,096.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 589.1484152.6406
Module start 'layout' 0.00490.0024 741.789139.4844
Module start 'content' 0.00730.6634 781.2734491.6953
Module end 'content' 0.67070.0017 1,272.96888.2969
Script end 0.6724  1,281.2656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.5117160.0002
Check MTime0.00140.2042160.0001
Mysql Total
Database connection0.00070.098510.0007
Mysqli_queries0.623792.7630550.0113
Looping result0.00060.0878530.0000
Template Total0.637694.820.3188
Template load0.00300.438920.0015
Template processing0.634794.390120.3173
Template load and register function0.00010.018610.0001
states
state_id_array0.00080.119610.0008
state_identifier_array0.00140.212520.0007
Override
Cache load0.00250.3678160.0002
Sytem overhead
Fetch class attribute can translate value0.00090.132820.0004
Fetch class attribute name0.00100.144030.0003
XML
Image XML parsing0.00400.595220.0020
class_abstraction
Instantiating content class attribute0.00000.001230.0000
General
dbfile0.00610.9028160.0004
String conversion0.00000.001040.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.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.0002 secs