Retrieving version number while editing a draft

Author Message

Jerome Despatis

Tuesday 10 November 2009 4:47:13 am

Hi

 

I'm editing an article, therefore i'm editing a draft.

And in my article, I have a custom datatype in an attribute.

The latter needs to know the current version edited (the draft), how can it get it ?

Maybe looking the url, but there's surely a better way ?

Thanks

Jerome Despatis

Tuesday 10 November 2009 4:51:44 am

Well forget my question, I haven't seen the Version attribute in my contentObjectAttributes parameter in objectAttributeContent() function...

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.