Doc on creating objects extending eZPersistentObject

Author Message

H-Works Agency

Friday 01 April 2011 12:31:37 am

Hello,

Is there a comprehensive documentation somewhere about creating new custom objects extending eZPersistantObject (or other classes) in ezpublish ?

Is there a documentation about de "definition" method in such classes ?

How to structure the "field" variable in this method ?

Thanx in advance if someone could point me a direction to search.

EZP is Great

Nicolas Pastorino

Friday 01 April 2011 1:04:05 am

Hi Marting,

Had you read this general introduction : http://share.ez.no/learn/ez-publish/a-quick-and-friendly-introduction-to-ezpersistentobject ?

Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

H-Works Agency

Friday 01 April 2011 1:24:04 am

Great thanx - this is what i was looking for !

EZP is Great

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

Main resources:

Total runtime1.6110 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 589.1797152.6406
Module start 'layout' 0.00550.0031 741.820339.4844
Module start 'content' 0.00861.6009 781.3047538.3125
Module end 'content' 1.60950.0015 1,319.617212.1250
Script end 1.6110  1,331.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2113160.0002
Check MTime0.00140.0853160.0001
Mysql Total
Database connection0.00060.038410.0006
Mysqli_queries1.557396.6686570.0273
Looping result0.00080.0474550.0000
Template Total1.573497.720.7867
Template load0.00200.122320.0010
Template processing1.571497.541120.7857
Template load and register function0.00010.008110.0001
states
state_id_array0.00110.065910.0011
state_identifier_array0.00310.191320.0015
Override
Cache load0.00160.0976170.0001
Sytem overhead
Fetch class attribute can translate value0.00050.031620.0003
Fetch class attribute name0.00110.071150.0002
XML
Image XML parsing0.00100.059420.0005
class_abstraction
Instantiating content class attribute0.00000.000860.0000
General
dbfile0.00240.1466230.0001
String conversion0.00000.000640.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs