# Class R.I.IconShow:

Part of Reportek.IconShow View In Hierarchy

Known subclasses: Reportek.Document.Document

Iconshow mixin class

Line # | Kind | Name | Docs
--- | --- | --- | ---
59 | Method | getContentType | Get the content type of a file or image.
65 | Method | getIconPath | Depending on the MIME Type of the file/image an icon
82 | Method | _getMIMECatAndSub | Split MIME String into Category and Subcategory

def getContentType(self):
Get the content type of a file or image. Returns the content type (MIME type) of a file or image.

def getIconPath(self):
Depending on the MIME Type of the file/image an icon can be displayed. This function determines which image in the lib/python/Products/Reportek/icons/... directory shold be used as icon for this file/image

def _getMIMECatAndSub(self, mime_string):
Split MIME String into Category and Subcategory