Back to index

plone3  3.1.7
Classes | Functions | Variables
MimetypesRegistry.mime_types.mtr_mimetypes Namespace Reference

Classes

class  text_plain
class  text_pre_plain
class  text_structured
class  text_rest
class  text_python
class  text_wiki
class  application_rtf
class  application_msword
class  text_xml
class  application_octet_stream
class  text_html
class  text_html_safe
class  text_web_intelligent
class  text_web_markdown
class  text_web_textile

Functions

def initialize

Variables

list reg_types
tuple __all__ = tuple([cls.__name__ for cls in reg_types])

Function Documentation

Definition at line 152 of file mtr_mimetypes.py.

00152 
00153 def initialize(registry):
00154     for mt in reg_types:
00155         if type(mt) != InstanceType:
00156             mt = mt()
00157         registry.register(mt)


Variable Documentation

tuple MimetypesRegistry.mime_types.mtr_mimetypes.__all__ = tuple([cls.__name__ for cls in reg_types])

Definition at line 158 of file mtr_mimetypes.py.

Initial value:
00001 [
00002     text_plain,
00003     text_pre_plain,
00004     application_msword,
00005     text_xml,
00006     text_structured,
00007     text_rest,
00008     text_python,
00009     text_wiki,
00010     application_octet_stream,
00011     application_rtf,
00012     text_html,
00013     text_html_safe,
00014     text_web_intelligent,
00015     text_web_markdown,
00016     text_web_textile,
00017     ]

Definition at line 134 of file mtr_mimetypes.py.