item::get_element (public, deprecated)

 item::get_element -item_id item_id -element element

Defined in packages/acs-content-repository/tcl/deprecated-procs.tcl

Deprecated. Invoking this procedure generates a warning.

Return the value of a single element (attribute) of a content item.

Switches:
-item_id (required)
The id of the item to get element value for
-element (required)
The name (column name) of the element. See item::get for valid element names.
See Also:

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc item::get_element
    ::content::item::get -item_id $item_id -array row
    return $row($element)
Generic XQL file:
packages/acs-content-repository/tcl/deprecated-procs.xql

PostgreSQL XQL file:
packages/acs-content-repository/tcl/deprecated-procs-postgresql.xql

Oracle XQL file:
packages/acs-content-repository/tcl/deprecated-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: