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):
- Testcases:
- No testcase defined.
Source code: return [util_memoize [list content::type::content_type_p_not_cached -mime_type $mime_type -content_type $content_type]]XQL Not present: PostgreSQL, Oracle Generic XQL file: packages/acs-content-repository/tcl/content-type-procs.xql