previo | siguiente |
New acs_object types are derived from an existing acs_object type (often the root object type, acs_object, itself). Currently, creating an object requires direct calls to PL/[pg]SQL. In other words, you must provide calls in the package's sql/oracle and sql/postgresql subdirectories. In the future (OpenACS 5.1 or, more likely, 5.2) we will support creation of objects from a high-level Tcl API, which will require much less coding. The basic steps in PostgreSQL, in order, are ... |
|
In Oracle, you should define a package with the same name as your acs_object type containing the new and del functions. Since Oracle makes function parameter list metadata available through documented SELECT statements, there is no "define_function_args()" procedure in the Oracle version of OpenACS. |