Forums / Developer / API for content management

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. :)

eZ debug

Timing: Jan 18 2025 11:32:55
Script start
Timing: Jan 18 2025 11:32:55
Module start 'content'
Timing: Jan 18 2025 11:32:56
Module end 'content'
Timing: Jan 18 2025 11:32:56
Script end

Main resources:

Total runtime1.1793 sec
Peak memory usage4,096.0000 KB
Database Queries218

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 587.7109180.8359
Module start 'content' 0.00611.0051 768.5469718.5547
Module end 'content' 1.01110.1682 1,487.1016340.4375
Script end 1.1793  1,827.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.3420210.0002
Check MTime0.00150.1254210.0001
Mysql Total
Database connection0.00120.098810.0012
Mysqli_queries1.089292.35412180.0050
Looping result0.00270.22842160.0000
Template Total1.151197.620.5755
Template load0.00210.175120.0010
Template processing1.149097.426120.5745
Template load and register function0.00020.020610.0002
states
state_id_array0.00090.073310.0009
state_identifier_array0.00110.093320.0006
Override
Cache load0.00180.1549470.0000
Sytem overhead
Fetch class attribute can translate value0.00160.136360.0003
Fetch class attribute name0.00250.2123110.0002
XML
Image XML parsing0.00150.130660.0003
class_abstraction
Instantiating content class attribute0.00000.0021120.0000
General
dbfile0.00240.2010340.0001
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 36
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs