Index: openacs-4/packages/acs-content-repository/www/doc/api/item.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/www/doc/api/item.html,v diff -u -r1.1 -r1.2 --- openacs-4/packages/acs-content-repository/www/doc/api/item.html 13 Mar 2001 22:59:26 -0000 1.1 +++ openacs-4/packages/acs-content-repository/www/doc/api/item.html 15 Feb 2003 12:11:41 -0000 1.2 @@ -210,9 +210,13 @@

 

  • Function: content_item.get_live_revision -

    Retrieves the id of the live revision for the item -

    +

    Retrieves the id of the live revision for the item

    +

    Note that this function does nothing else besides retrieving + the value of the column cr_items.live_revision. It is + thus more efficient in many cases to join against + cr_items and retrieve the value directly.

    +
    Returns:The id of the live revision for this item, or null if no live revision