API for content management

Author Message

Christophe Saint-Pierre

Wednesday 01 October 2008 4:59:27 am

Hi,
I despereraly searched for documentation for API to manage content but I always come back to ez.no/doc.
I would like to read some documentations for functions wich add content.
For example , I created a class News with a Date , a Titre , a Source.
ANd I would like to add by program (source data comes from another database) a new enreg by call that function with argument Title,Date and Source (and surely the parent node , the obkect user ,...)
I tryed to find it in some extensions but with no success.

Thanks a lot !

Björn Dieding@xrow.de

Wednesday 01 October 2008 5:27:03 am

http://pubsvn.ez.no/doxygen/trunk/html/index.html

Something like this?

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/

John Moritz

Wednesday 01 October 2008 7:36:39 am

This is the most importan Link for ezPublish. I missed this since i working with this system.
Its quite a coincidence that i wanted to aks the same question because i ran very often into questions which could be answered thru the API reference.

As example, yesterday i was searchin for a solution, how i can output modules as XML or similar output. Only on a Forum thread i found the eZExecution::cleanExit Method which solves the Problem.
If i search on documentation Page there is no result for eZExecution::

I think now i can check the API first before searchin the Forum. That enables faster development for me.

Why is this Link not available on the Documentation Page?
You should Place this on the Reference Chapter!

Björn Dieding@xrow.de

Wednesday 01 October 2008 10:03:15 am

John that is a good idea.

Please write a ticket in the public tracker. So that eZ knwo about it.

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/

Paul Borgermans

Wednesday 01 October 2008 2:10:38 pm

Hello

This will be dealt with shortly, apparently too little community members find their way to pubsvn.ez.no

Best regards
Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Svitlana Shatokhina

Thursday 02 October 2008 2:54:21 am

Hi,

Linked from the official doc site now:

http://ez.no/doc/ez_publish/technical_manual/4_0/reference
http://ez.no/doc/ez_publish

Best regards
Sveta

John Moritz

Thursday 02 October 2008 3:11:53 am

Wow,

didnt expected that u will do it in that short time. Good work!

Christophe Saint-Pierre

Thursday 02 October 2008 5:10:48 am

Thanks a lot.
It was exactely what i wanted (I finaly found it Yesterday but thanks).

Svitlana Shatokhina

Thursday 02 October 2008 5:29:43 am

No problem, you're welcome. :)

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 15:55:58
Script start
Timing: Jan 18 2025 15:55:58
Module start 'layout'
Timing: Jan 18 2025 15:55:58
Module start 'content'
Timing: Jan 18 2025 15:55:59
Module end 'content'
Timing: Jan 18 2025 15:55:59
Script end

Main resources:

Total runtime0.8984 sec
Peak memory usage4,096.0000 KB
Database Queries81

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 589.0469152.6250
Module start 'layout' 0.00620.0041 741.671939.4453
Module start 'content' 0.01020.8869 781.1172713.4766
Module end 'content' 0.89720.0012 1,494.593820.1641
Script end 0.8984  1,514.7578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3874160.0002
Check MTime0.00160.1739160.0001
Mysql Total
Database connection0.00120.129610.0012
Mysqli_queries0.821591.4406810.0101
Looping result0.00100.1105790.0000
Template Total0.858795.620.4294
Template load0.00220.240620.0011
Template processing0.856695.344120.4283
Template load and register function0.00020.024410.0002
states
state_id_array0.00180.199510.0018
state_identifier_array0.00180.201120.0009
Override
Cache load0.00190.2124470.0000
Sytem overhead
Fetch class attribute can translate value0.00070.073850.0001
Fetch class attribute name0.00160.1818110.0001
XML
Image XML parsing0.00130.142950.0003
class_abstraction
Instantiating content class attribute0.00000.0027120.0000
General
dbfile0.00470.5192230.0002
String conversion0.00000.000940.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
9content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
14content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 36
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs