content::type::content_type_p (public)

 content::type::content_type_p -content_type content_type \
    -mime_type mime_type

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

Checks if the mime_type is of the content_type, e.g. if application/pdf is of content_type "image" (which it should not...) Cached

Switches:
-content_type (required)
content type to check against
-mime_type (required)
mime type to check for

Partial Call Graph (max 5 caller/called nodes):
%3 fs::add_file fs::add_file (public) content::type::content_type_p content::type::content_type_p fs::add_file->content::type::content_type_p content::type::content_type_p_not_cached content::type::content_type_p_not_cached (private) content::type::content_type_p->content::type::content_type_p_not_cached util_memoize util_memoize (public) content::type::content_type_p->util_memoize

Testcases:
No testcase defined.
[ show source ]
Show another procedure: