cr_create_mime_type (private)
cr_create_mime_type -mime_type mime_type [ -extension extension ] \ [ -description description ]
Defined in packages/acs-content-repository/tcl/revision-procs.tcl
Creates a mime type if it does not exist. Also maps extension to mime_type (unless the extension is already mapped to another mime type or extension is empty).
- Switches:
- -mime_type (required)
- the mime_type to create
- -extension (optional)
- the default extension for the given mime type
- -description (optional)
- a plain text description of the mime type (< 200 characters)
- Author:
- Jeff Davis <davis@xarg.net>
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.