xo::db::Class proc get_instance_from_db (public)

 xo::db::Class[i] get_instance_from_db -id id 

Defined in /var/www/openacs.org/packages/xotcl-core/tcl/05-db-procs.tcl

Create an XOTcl object from an acs_object_id. This method determines the type and initializes the object from the information stored in the database. The XOTcl object is destroyed automatically on cleanup (end of a connection request).

Switches:
-id (required, integer)
Returns:
fully qualified object

Testcases:
xotcl_core_tutorial_1, xotcl_core_tutorial_2, test_xo_db_object
[ show source ]
Show another procedure: