Module-Code to create a object of a certain type?

Author Message

Daniel Scheiner

Friday 06 October 2006 7:57:40 am

Hi!

I want a module to create a new object of a specific type (classidentifier?) under a given parent-node-id.

How can I accomplish that?

Kristof Coomans

Tuesday 10 October 2006 10:51:07 am

Hi Daniel

A list of some interesting topics to look at:
http://www.simpy.com/simpy/User.do?username=cyberwolf&q=import++tags%3a%22howto%22+%2btags%3a%22ezpublish%22

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

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

Main resources:

Total runtime0.0155 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 589.4766152.6406
Module start 'layout' 0.00570.0034 742.117239.4766
Module start 'content' 0.00900.0041 781.593889.3672
Module end 'content' 0.01310.0024 870.960930.3047
Script end 0.0155  901.2656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002717.3723140.0002
Check MTime0.00117.2639140.0001
Mysql Total
Database connection0.00095.840910.0009
Mysqli_queries0.003019.405630.0010
Looping result0.00000.122710.0000
Template Total0.001811.510.0018
Template load0.00116.791610.0011
Template processing0.00074.695410.0007
Override
Cache load0.00063.871910.0006
General
dbfile0.00021.607080.0000
String conversion0.00000.056740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs