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

::xo::db::CrClass proc lookup

OpenACS Home : ACS API Browser : {::xo::db::CrClass proc lookup}

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

::xo::db::CrClass[i] lookup -name name  [ -parent_id parent_id ]
Defined in packages/xotcl-core/tcl/cr-procs.tcl

Check, whether an content item with the given name exists. If the item exists, return its item_id, otherwise 0.

Switches:
-name (required)
-parent_id (defaults to "-100") (optional)
Returns:
item_id
[ show source ]
Show another procedure: