Home
The Toolkit for Online Communities
15894 Community Members, 0 members online, 2320 visitors today
Log In Register

::xo::db::CrClass instproc new_persistent_object

OpenACS Home : ACS API Browser : {::xo::db::CrClass instproc new_persistent_object}

::xo::db::CrClass instproc new_persistent_object (public)

<instance of ::xo::db::CrClass[i]> new_persistent_object \
    [ -package_id package_id ] [ -creation_user creation_user ] \
    [ -creation_ip creation_ip ] args [ args... ]
Defined in packages/xotcl-core/tcl/cr-procs.tcl

Create a new content item of the actual class, configure it with the given arguments and insert it into the database. The XOTcl object is destroyed automatically on cleanup (end of a connection request).

Switches:
-package_id (optional)
-creation_user (optional)
-creation_ip (optional)
Parameters:
args
Returns:
fully qualified object
[ show source ]
Show another procedure: