Object max version

Object max version

Tuesday 28 November 2006 9:54:56 am - 1 reply

Author Message

Claudia Kosny

Wednesday 29 November 2006 1:37:36 pm

Hi Pavel

Not sure whether this helps:
$contentobject->versions() returns an array with all available contentobjectversions of $contentobject.

If you just need to know how many versions an object can have you need to check the content.ini, as this is set there.

As you seem to work quite a lot with PHP code you should check the file \kernel\classes\ezcontentobject.php and read over the function names to get an idea what is available there. Usually the code is quite good to understand.

Claudia

You must be logged in to post messages in this topic!

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