Back to index

plone3  3.1.7
Variables
lookupMime Namespace Reference

Variables

 mimetool = context.mimetypes_registry
 Script (Python) "lookupMime" title=Given an id, return the human representation of mime-type.
tuple mimetypes = mimetool.lookup(name)

Variable Documentation

lookupMime.mimetool = context.mimetypes_registry

Script (Python) "lookupMime" title=Given an id, return the human representation of mime-type.

bind container=container bind context=context bind namespace= bind script=script bind subpath=traverse_subpath parameters=name

Definition at line 10 of file lookupMime.py.

tuple lookupMime.mimetypes = mimetool.lookup(name)

Definition at line 11 of file lookupMime.py.