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

Partial Call Graph (max 5 caller/called nodes):
%3 test_content_item content_item (test acs-content-repository) content::item::get_content_type content::item::get_content_type test_content_item->content::item::get_content_type package_exec_plsql package_exec_plsql (public) content::item::get_content_type->package_exec_plsql content::init content::init (public) content::init->content::item::get_content_type content::item::content_type content::item::content_type (public, deprecated) content::item::content_type->content::item::get_content_type content::item::get content::item::get (public) content::item::get->content::item::get_content_type content::revision::new content::revision::new (public) content::revision::new->content::item::get_content_type oacs_dav::handle_request oacs_dav::handle_request (public) oacs_dav::handle_request->content::item::get_content_type

Testcases:
content_item
[ show source ]
Show another procedure: