Object(eZcontentClass).

Author Message

Alain Mangana

Monday 27 October 2008 4:06:46 am


I want to extract information like the id of an Object(eZcontentClass). I tried several ways in vain.who has an idea

thanks!

http://tikdem.com
/

André R.

Monday 27 October 2008 7:20:18 am

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

If from php (then you should of course mention that..), then take a look at how persistent objects are used (ezcontentclass as most other classes implements it), hint ->attribute('id').

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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

Main resources:

Total runtime0.0159 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.0051 587.8906152.6094
Module start 'layout' 0.00510.0030 740.500039.4141
Module start 'content' 0.00810.0055 779.914189.3047
Module end 'content' 0.01350.0023 869.218830.3047
Script end 0.0158  899.5234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003018.9080140.0002
Check MTime0.00148.8746140.0001
Mysql Total
Database connection0.00063.794810.0006
Mysqli_queries0.001912.254730.0006
Looping result0.00000.081210.0000
Template Total0.001811.410.0018
Template load0.00106.285110.0010
Template processing0.00085.087310.0008
Override
Cache load0.00063.984210.0006
General
dbfile0.00031.645780.0000
String conversion0.00000.061640.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