Extension with parameter sample

Author Message

Majkl Najt

Sunday 22 August 2004 9:51:43 am

I am wondering if there will be more documentation on building extensions.
There is some sample, but it doesn't show, how to build it with parameter.
http://ez.no/ez_publish/documentation/development/extensions/building_an_ez_publish_module

Could someone provide some sample also with parameter?

I tried to figure it out for two days already, but without success.

Majkl

Björn Dieding@xrow.de

Monday 23 August 2004 2:24:15 am

Extenstion behave like the rest of eZ publish....

If you have no clue how to do stuff, you can look up the functionaloty from kernel/*

e.g kernel/content/view.php shows how to handle parameters. They are defined in module.php

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

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 16:28:31
Script start
Timing: Jan 18 2025 16:28:31
Module start 'layout'
Timing: Jan 18 2025 16:28:31
Module start 'content'
Timing: Jan 18 2025 16:28:32
Module end 'content'
Timing: Jan 18 2025 16:28:32
Script end

Main resources:

Total runtime0.8076 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.0059 587.9141152.6250
Module start 'layout' 0.00590.0029 740.539139.4453
Module start 'content' 0.00870.7972 779.9844520.1641
Module end 'content' 0.80590.0016 1,300.14848.1641
Script end 0.8075  1,308.3125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4350160.0002
Check MTime0.00150.1879160.0001
Mysql Total
Database connection0.00080.104710.0008
Mysqli_queries0.762294.3789540.0141
Looping result0.00050.0602520.0000
Template Total0.778796.420.3893
Template load0.00220.276620.0011
Template processing0.776596.144720.3882
Template load and register function0.00030.035410.0003
states
state_id_array0.00140.170910.0014
state_identifier_array0.00120.145420.0006
Override
Cache load0.00180.2254140.0001
Sytem overhead
Fetch class attribute can translate value0.00330.410420.0017
Fetch class attribute name0.00130.157430.0004
XML
Image XML parsing0.00080.100320.0004
class_abstraction
Instantiating content class attribute0.00000.003830.0000
General
dbfile0.00070.0883160.0000
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
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.0001 secs