This article documents the usage of the Cpanel::Mime::listmime function in relation to the cPanel interface. This tag can be used inside cPanel pages.
Cpanel::Mime::listmime
This function outputs user and system defined MIME types for a domain.
extension(s) associated with the MIME type. Format: .extension
<?cp Mime::listmime(% %,type,ext) system=no ?>
This example will output the names and associated extensions for all user defined MIME types for a domain.
Copyright 2007 cPanel Inc.