Kernel override

Author Message

Christophe Campan

Friday 29 May 2009 2:36:00 am

I would like to override the file : /kernel/content/operation_definition.php
in order to add an operation.
How can I do in my extension ?

Max Keil

Tuesday 07 July 2009 4:30:38 pm

Hi Christophe,

you can create your own Module-Extension with your personal operation_definition.php into it. But if you want to override an existing definition - do it! Or wait a while for soon features.

Mit freundlichen Grüßen
Best regards

Max Keil

____________________________________________________________
eZ Publish Gold Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

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

Main resources:

Total runtime0.4781 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.0049 589.2188152.6094
Module start 'layout' 0.00490.0028 741.828139.4141
Module start 'content' 0.00770.4690 781.2422519.7188
Module end 'content' 0.47670.0014 1,300.96098.1953
Script end 0.4781  1,309.1563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.7095160.0002
Check MTime0.00130.2730160.0001
Mysql Total
Database connection0.00060.124910.0006
Mysqli_queries0.435291.0172540.0081
Looping result0.00040.0888520.0000
Template Total0.454195.020.2271
Template load0.00240.508220.0012
Template processing0.451794.466520.2258
Template load and register function0.00020.039310.0002
states
state_id_array0.00060.134010.0006
state_identifier_array0.00070.154420.0004
Override
Cache load0.00200.4204100.0002
Sytem overhead
Fetch class attribute can translate value0.00090.187620.0004
Fetch class attribute name0.00120.255730.0004
XML
Image XML parsing0.00340.707920.0017
class_abstraction
Instantiating content class attribute0.00000.001930.0000
General
dbfile0.00330.6975160.0002
String conversion0.00000.001540.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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 8
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs