Index: openacs-4/packages/acs-content-repository/www/doc/api/item.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/www/doc/api/item.adp,v diff -u -r1.2.2.8 -r1.2.2.9 --- openacs-4/packages/acs-content-repository/www/doc/api/item.adp 1 Dec 2015 11:17:40 -0000 1.2.2.8 +++ openacs-4/packages/acs-content-repository/www/doc/api/item.adp 9 Jun 2016 08:44:49 -0000 1.2.2.9 @@ -27,12 +27,11 @@ See also: content_revision, content_folder

 

API

- + -

Registers a template which will be used to render this item.

- +content_item.register_template +

Registers a template which will be used to render this item.

Author:Karl Goldstein
Parameters:
@@ -654,13 +602,11 @@ -
See Also:content_type.register_template, content_item.unregister_template, content_item.get_template
-

 

-
  • -Procedure: content_item.edit_name
+

 

+
  • +Procedure: content_item.edit_name

    Renames the item. If an item with the specified name already -exists under this item's parent, an error is thrown

    - +exists under this item's parent, an error is thrown

    Author:Karl Goldstein
    Parameters:
    @@ -678,13 +624,11 @@ -
    See Also:content_item.new
    -

     

    -
    • +

     

    +
  • Procedure: -content_item.set_live_revision
  • -

    Make the specified revision the live revision for the item

    - +content_item.set_live_revision +

    Make the specified revision the live revision for the item

    Author:Karl Goldstein
    Parameters:
    @@ -699,15 +643,13 @@ -
    See Also:content_item.get_live_revision
    -

     

    -
    • +

     

    +
  • Procedure: -content_item.set_release_period
  • +content_item.set_release_period

    Sets the release period for the item. This information may be used by applications to update the publishing status of items at -periodic intervals.

    - +periodic intervals.

    Author:Karl Goldstein
    Parameters:
    @@ -726,14 +668,12 @@ ); -
    -

     

    -
    • +

     

    +
  • Procedure: -content_item.unregister_template
  • +content_item.unregister_template

    Unregisters a template which will be used to render this -item.

    - +item.

    Author:Karl Goldstein
    Parameters:
    @@ -756,11 +696,10 @@ -
    See Also:content_type.register_template, content_item.register_template, content_item.get_template
    -

     

    -
    • +

     

    +
  • Procedure: -content_item.unset_live_revision
  • +content_item.unset_live_revision -
    Parameters:
    Not yet documented
    Declaration:
    
     procedure unset_live_revision (
    @@ -772,14 +711,11 @@
     );
     
     
    -

     

    - +

     

    +
  • +Procedure: content_item.write_to_file

    Writes the content of the live revision of this item to a file, -creating all the neccessary directories in the process

    - +creating all the neccessary directories in the process

    Author:Karl Goldstein
    Parameters:
    @@ -799,6 +735,9 @@
    See Also:content_item.get_path
    + +

     

    -Last Modified: $‌Id: item.html,v 1.3 2004/06/01 22:54:18 donb Exp $ +Last Modified: $‌Id: item.html,v 1.3.18.1 2016/06/09 08:21:01 +gustafn Exp $