content::item::get_content_type (public)

 content::item::get_content_type -item_id item_id

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

Retrieves the content type of the item. If the item does not exist, returns an empty string.

Switches:
-item_id (required)
The item_id of the content item
Returns:
The content type of the item, or an empty string if no such item exists

Testcases:
content_item
Source code:
    return [package_exec_plsql  -var_list [list [list item_id $item_id ]]  content_item get_content_type]
Generic XQL file:
packages/acs-content-repository/tcl/content-item-procs.xql

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

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

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