model/modx/processors/system/contenttype/update.php
- package
- modx
- $id
- integer
The ID of the content type - $name
- string
The new name - $description
- string
(optional) A short description - $mime_type
- string
The MIME type for the content type - $file_extensions
- string
A list of file extensions associated with this type - $headers
- string
Any headers to be sent with resources with this type - $binary
- boolean
If true, will be sent as binary data - subpackage
- processors.system.contenttype
Description
Update a content type from the grid. Sent through JSON-encoded 'data' parameter.