content::type::content_type_p_not_cached (private)
content::type::content_type_p_not_cached -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...)
- 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):
- Testcases:
- No testcase defined.
Source code: return [db_string content_type_p "" -default 0]XQL Not present: PostgreSQL, Oracle Generic XQL file: <fullquery name="content::type::content_type_p_not_cached.content_type_p"> <querytext> select 1 from cr_content_mime_type_map where mime_type = :mime_type and content_type = :content_type </querytext> </fullquery>packages/acs-content-repository/tcl/content-type-procs.xql