Index: openacs-4/packages/acs-content-repository/www/doc/method.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/www/doc/method.adp,v
diff -u -r1.2 -r1.2.2.1
--- openacs-4/packages/acs-content-repository/www/doc/method.adp 17 Jun 2015 07:54:46 -0000 1.2
+++ openacs-4/packages/acs-content-repository/www/doc/method.adp 5 Aug 2016 13:36:00 -0000 1.2.2.1
@@ -28,14 +28,14 @@
++@code@ -
- Task + Task Title Description Task Number @@ -231,7 +231,7 @@- Side effect: once you've created the content type, the + Side effect: once you've created the content type, the content repository creates a view for you called
-pm_tasks_revisionsx
. Note the x at the end of the name. If you're using Postgres, I believe it will also create a @@ -252,7 +252,7 @@ you've added. Another nice thing is that all that messy business of defining your attributes through the API is taken care of.Types is the content repository are another term for +
Types is the content repository are another term for tables, although that doesn't explain it completely. Types are also kept track of within OpenACS, in the
acs_object_types
table, so the system knows about @@ -526,7 +526,7 @@ cr_items:- item_id - unique id for this item, will be different than the revision_id
+ item_id - unique id for this item, will be different than the revision_id
parent_id - used to group items into a hierarchy (see below)
name - this is used to make a URL by the content repository. It must be unique per content folder. You can use a number, or something like project_231. One way to do this is to set it equal to a title plus the item_id.
locale - not sure, probably for internationalization support
@@ -568,7 +568,7 @@ Column | Type | Modifiers ------------------+------------------------+----------------------------- item_id | integer | not null - parent_id | integer | not null + parent_id | integer | not null name | character varying(400) | not null locale | character varying(4) | live_revision | integer | Index: openacs-4/packages/acs-content-repository/www/doc/guide/object-relationships.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/www/doc/guide/object-relationships.adp,v diff -u -r1.2.2.4 -r1.2.2.5 --- openacs-4/packages/acs-content-repository/www/doc/guide/object-relationships.adp 1 Jul 2016 09:17:33 -0000 1.2.2.4 +++ openacs-4/packages/acs-content-repository/www/doc/guide/object-relationships.adp 5 Aug 2016 13:36:00 -0000 1.2.2.5 @@ -52,7 +52,7 @@ optionally specify a "tag" for identifying child items of the same type. For example, you may want to allow only 1 image with the "featured" tag, and up to 8 other images without -this.A Boolean API function, content_item.is_valid_child, +this. A Boolean API function, content_item.is_valid_child, which checks all registered child constraints on the content type of an item and returns true if it is currently possible to add an child of a particular type to tan item. Note that this function @@ -91,7 +91,7 @@ content_item. As for parent-child relationship constraints, ou may optionally specify a "tag" for identifying related objects of the same type. A Boolean API function, -content_item.is_valid_relation, which checks all +content_item.is_valid_relation, which checks all registered constraints on the content type of an item and returns true if it is currently possible to relate an object of a particular type to an item. A mapping table, cr_item_rels, which contains two Index: openacs-4/packages/acs-content-repository/www/doc/guide/object-relationships.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/www/doc/guide/object-relationships.html,v diff -u -r1.1.1.1.30.1 -r1.1.1.1.30.2 --- openacs-4/packages/acs-content-repository/www/doc/guide/object-relationships.html 22 Jun 2016 07:40:41 -0000 1.1.1.1.30.1 +++ openacs-4/packages/acs-content-repository/www/doc/guide/object-relationships.html 5 Aug 2016 13:36:00 -0000 1.1.1.1.30.2 @@ -65,7 +65,7 @@ example, you may want to allow only 1 image with the "featured" tag, and up to 8 other images without this. - A Boolean API function, content_item.is_valid_child, + A Boolean API function, content_item.is_valid_child, which checks all registered child constraints on the content type of an item and returns true if it is currently possible to add an child of a particular type to tan item. Note that this function does not @@ -110,7 +110,7 @@ specify a "tag" for identifying related objects of the same type. - A Boolean API function, content_item.is_valid_relation, + A Boolean API function, content_item.is_valid_relation, which checks all registered constraints on the content type of an item and returns true if it is currently possible to relate an object of a particular type to an item. Index: openacs-4/packages/acs-lang/www/doc/i18n-design.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-lang/www/doc/i18n-design.html,v diff -u -r1.3.2.1 -r1.3.2.2 --- openacs-4/packages/acs-lang/www/doc/i18n-design.html 22 Jun 2016 07:45:44 -0000 1.3.2.1 +++ openacs-4/packages/acs-lang/www/doc/i18n-design.html 5 Aug 2016 13:37:28 -0000 1.3.2.2 @@ -810,8 +810,8 @@ System owner: hqm@arsdigita.com Documentation author: hqm@arsdigita.com XII. Revision History
-The revision history table below is for this template - modify it as -needed for your actual design document.
+The revision history table below is for this template - modify it as +needed for your actual design document.