Index: openacs-4/packages/acs-templating/www/doc/TclDocs/cms_rel.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/TclDocs/cms_rel.adp,v diff -u -N -r1.2 -r1.3 --- openacs-4/packages/acs-templating/www/doc/TclDocs/cms_rel.adp 27 Oct 2014 16:40:15 -0000 1.2 +++ openacs-4/packages/acs-templating/www/doc/TclDocs/cms_rel.adp 7 Aug 2017 23:48:02 -0000 1.3 @@ -1,44 +1,52 @@ -{/doc/acs-templating {Templating}} {} +{/doc/acs-templating {ACS Templating}} {} +

Namespace cms_rel

+
Procedures for managing relation items and child +items
+

Method Summary

- -

Namespace cms_rel

Procedures for managing relation items and child -items

Method Summary

-Listing of public methods:
+Listing of public methods:
+
cms_rel::sort_child_item_order
cms_rel::sort_related_item_order
-

Method Detail

-* indicates required

Public Methods:
+ +

Method Detail

+

+* indicates required

+Public Methods: +
+
-
-cms_rel::sort_child_item_order
  by Michael Pih +cms_rel::sort_child_item_order
  by Michael Pih
Resort the child items order for a given content item, ensuring that order_n is unique for an item_id. Chooses new order based on the old order_n and then rel_id (the order the item was related)
-Parameters: +Parameters:
item_id* The item for which to resort child items
+
+ -
-cms_rel::sort_related_item_order
  by Michael Pih +cms_rel::sort_related_item_order
  by Michael Pih
Resort the related items order for a given content item, ensuring that order_n is unique for an item_id. Chooses new order based on the old order_n and then rel_id (the order the item was related)
-Parameters: +Parameters:
item_id* The item for which to resort related items

+ +

* indicates required

-