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

content::item::get

OpenACS Home : ACS API Browser : content::item::get

content::item::get (public)

content::item::get -item_id item_id [ -revision revision ] \
    [ -array_name array_name ]
Defined in packages/acs-content-repository/tcl/content-item-procs.tcl

Switches:
-item_id (required)
-revision (defaults to "live") (optional)
live, latest, or best (live if it exists, otherwise latest)
-array_name (defaults to "content_item") (optional)
name of array to upvar content into
Returns:
upvars array_name containing all attributes of the content type except content
returns 0 if item does not exists or 1 if query was sucessful
Error:
Author:
Dave Bauer <dave@thedesignexperience.org>
Created:
2004-05-28
[ show source ]
Show another procedure: