xo::db::CrClass proc get_parent_id (public)

 xo::db::CrClass[i] get_parent_id -item_id item_id 

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

Get the parent_id of a content item either from an already instantiated object or from the database without instantiating it. If item_id is not a valid item_id, we throw an error.

Switches:
-item_id (required)
Returns:
parent_id

Testcases:
xowiki_test_cases
[ show source ]
Show another procedure: