Index: openacs-4/packages/acs-templating/www/doc/TclDocs/item.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/TclDocs/item.adp,v diff -u -r1.2.2.3 -r1.2.2.4 --- openacs-4/packages/acs-templating/www/doc/TclDocs/item.adp 22 Jun 2016 07:48:44 -0000 1.2.2.3 +++ openacs-4/packages/acs-templating/www/doc/TclDocs/item.adp 5 Jul 2016 12:14:22 -0000 1.2.2.4 @@ -92,7 +92,7 @@ +default 'public'; The context in +which the template will be used.
item::get_extended_url
Retrieves the relative URL of the item with a file -extension based on the item's mime_type (Example: { +extension based on the item's mime_type (Example: { /foo/bar/baz.html} ).
Parameters: @@ -112,9 +112,9 @@ +revision_id which will be used to retrieve the item's +mime_type. This option is ignored if the -template_extension option +is specified.
revision_id default the live revision; Specifies the -revision_id which will be used to retrieve the item's mime_type. -This option is ignored if the -template_extension option is -specified.
See Also:
proc - item::get_mime_info
item::get_template_id
item::get_url
@@ -210,8 +210,8 @@ revision.
  • ready - The item is ready for publishing
  • live - The item has been published
  • -expired - The item has been published in the past, but -its publication has expired
  • +expired - The item has been published in the past, +but its publication has expired
    @@ -245,8 +245,8 @@
    Returns:
    1 on success (and create a content array in the calling frame), 0 on failure
    Options:
    +defaultauto-generated; The +item_id of the corresponding item.
    item_id -defaultauto-generated; The item_id -of the corresponding item.
    See Also:
    proc - item::get_content_type
    item::get_mime_info
    @@ -257,8 +257,8 @@
    Retrieves the template which can be used to render the item. If there is a template registered directly to the item, returns the id of that template. Otherwise, returns the id of the -default template registered to the item's content_type. Returns an -empty string on failure.
    +default template registered to the item's content_type. Returns +an empty string on failure.
    Parameters: @@ -267,8 +267,8 @@ +default 'public'; The context in +which the template will be used.
    The item id
    context -default 'public'; The context in which the -template will be used.
    Returns:
    The template_id of the template which can be used to render the @@ -290,8 +290,8 @@
    The item id
    context -default 'public'; The context in which the -template will be used.
    Returns:
    The template_id of the template which can be used to render the