Add new function to a own extension

Author Message

Valenti salas

Thursday 23 December 2004 3:40:29 am

Following the documentation I have created and extension do call some of php functions.

The question is that when I add new function and after the modification of the eztremplateautoload and the .php related to, Ez shows and ez error message 'eZ publish did not finish its request'. I have reactivated the extension after put the new function and I have deleted all the caches, but it goes wrong yet. Have I to do something more to ez can recognize new functions in the extension?

Thanks.

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 20 2025 10:48:28
Script start
Timing: Jan 20 2025 10:48:28
Module start 'layout'
Timing: Jan 20 2025 10:48:28
Module start 'content'
Timing: Jan 20 2025 10:48:29
Module end 'content'
Timing: Jan 20 2025 10:48:29
Script end

Main resources:

Total runtime1.0426 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.0047 589.2734152.6406
Module start 'layout' 0.00470.0025 741.914139.4609
Module start 'content' 0.00721.0341 781.3750398.5938
Module end 'content' 1.04130.0013 1,179.96888.1563
Script end 1.0425  1,188.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2931160.0002
Check MTime0.00130.1221160.0001
Mysql Total
Database connection0.00070.066510.0007
Mysqli_queries1.010896.9530460.0220
Looping result0.00040.0393440.0000
Template Total1.010997.020.5055
Template load0.00190.177920.0009
Template processing1.009096.784720.5045
Template load and register function0.00020.021310.0002
states
state_id_array0.00150.144810.0015
state_identifier_array0.00130.122920.0006
Override
Cache load0.00150.140460.0002
Sytem overhead
Fetch class attribute can translate value0.00060.057110.0006
Fetch class attribute name0.00060.060410.0006
XML
Image XML parsing0.00010.010410.0001
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00060.0565100.0001
String conversion0.00000.000740.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