Index: openacs-4/packages/acs-core-docs/www/objects.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/objects.adp,v diff -u -r1.1.2.12 -r1.1.2.13 --- openacs-4/packages/acs-core-docs/www/objects.adp 23 Jun 2016 08:32:45 -0000 1.1.2.12 +++ openacs-4/packages/acs-core-docs/www/objects.adp 19 Nov 2016 09:21:54 -0000 1.1.2.13 @@ -1,5 +1,5 @@ -{/doc/acs-core-docs {Documentation}} {OpenACS Data Models and the Object System} +{/doc/acs-core-docs {ACS Core Documentation}} {OpenACS Data Models and the Object System} OpenACS Data Models and the Object System created the package. Then, do the following:

-Describe the new type to the type +Describe the new type to the type system

First, add an entry to the acs_object_types table with the following PL/SQL call:

 begin  
@@ -142,7 +142,7 @@
 attributes, so there is no need for us to define them.

-Define a table in which to store your +Define a table in which to store your objects

The next thing we do is make a small modification to the data model to reflect the fact that each row in the notes table represents something that is not only an object of type note, but also an acs_object. The new table definition looks @@ -166,7 +166,7 @@ acs_objects.

-Define a package for type specific +Define a package for type specific procedures

The next step is to define a PL/SQL package for your new type, and write some basic procedures to create and delete objects. Here is a package definition for our new type:

@@ -213,7 +213,7 @@
 only" by default. We'll talk about this more later.

-Define a package body for type specific +Define a package body for type specific procedures

The PL/SQL package body contains the implementations of the procedures defined above. The only subtle thing going on here is that we must use acs_object.new @@ -365,8 +365,8 @@ acs_objects. This means you should never use the fields in acs_objects for application-specific purposes. This is especially true for the context_id field.

-
($‌Id: objects.html,v 1.52.2.10 2016/06/21 -07:44:36 gustafn Exp $)
+
($‌Id: objects.xml,v 1.9.14.1 2016/06/23 +08:32:46 gustafn Exp $)