Forums / General / "object attribute ID" - What is it?

"object attribute ID" - What is it?

Author Message

Lulio Vargas

Thursday 18 September 2008 2:35:33 pm

Hi,

In the Image datatype documentation, there is a reference to the number "1024" as an "object attribute ID". It is used as part of the directory name that holds the actual image file uploaded to eZ publish via the Image datatype input interface. What is it?

Is this "object attribute ID" determined internally as part of the publishing process? Somehow, I can't find this info anywhere in the documentation.

Thanks for the help,
Lulio

Bruce Morrison

Thursday 18 September 2008 3:25:59 pm

Hi Lulio

Each Image is associated with a content object, the "object attribute ID" is simply a reference to the object that the image is associated with.

There is info about the path used to store images @ http://ez.no/doc/ez_publish/technical_manual/4_0/reference/datatypes/image and the generated documentation can be found here: http://pubsvn.ez.no/doxygen/trunk/html/classeZImageType.html

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Lulio Vargas

Thursday 18 September 2008 6:58:07 pm

Hello Bruce,

From your reply I take that "object attribute ID" is just a number, generated internally, that associates the dependent image with its content object.

Since I'm a designer, I tend to stick to the 4.0 Technical Manual and the numerous admin interfaces (over 50 in my last count!) for my professional knowledge. Your second reference is way above my level!

I suppose there is no simple description of how the value of "object attribute ID" comes about.

Bruce, I do appreciate <i>your</i> reply. I remember your name from my copy of "Learning eZ publish 3". Congratulations!

Regards,
Lulio

André R.

Friday 19 September 2008 12:48:31 am

Actually, like each object has a contentobject_id, each attribute on each object has a id as well. So this is the object attribute id, the id of some (image) attribute of the object.

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

Bruce Morrison

Friday 19 September 2008 2:35:22 am

Doh! thanks André. I'll put it down to a pre coffee post :)

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Lulio Vargas

Friday 19 September 2008 8:27:14 am

Thanks Bruce, and André,

Great news on OE 5 !! Looking forward to its release; and being able to work in Safari 3 !!

Saludos, Lulio

eZ debug

Timing: Jan 18 2025 11:11:05
Script start
Timing: Jan 18 2025 11:11:05
Module start 'content'
Timing: Jan 18 2025 11:11:06
Module end 'content'
Timing: Jan 18 2025 11:11:07
Script end

Main resources:

Total runtime1.1986 sec
Peak memory usage4,096.0000 KB
Database Queries205

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 588.8359180.8438
Module start 'content' 0.00721.0520 769.6797626.7422
Module end 'content' 1.05920.1393 1,396.4219341.0938
Script end 1.1985  1,737.5156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.3582210.0002
Check MTime0.00150.1261210.0001
Mysql Total
Database connection0.00080.065210.0008
Mysqli_queries1.106992.34932050.0054
Looping result0.00220.18702030.0000
Template Total1.163997.120.5819
Template load0.00230.191620.0011
Template processing1.161696.912720.5808
Template load and register function0.00010.009410.0001
states
state_id_array0.00130.106410.0013
state_identifier_array0.00150.121920.0007
Override
Cache load0.00200.1639360.0001
Sytem overhead
Fetch class attribute can translate value0.00170.138240.0004
Fetch class attribute name0.00160.131890.0002
XML
Image XML parsing0.00190.160940.0005
class_abstraction
Instantiating content class attribute0.00000.0022120.0000
General
dbfile0.00680.5649400.0002
String conversion0.00000.000630.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
6content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 26
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs