Back to index

plone3  3.1.7
Variables
getAllowedTypes Namespace Reference

Variables

tuple filterOut = context.getNotAddableTypes()
 Script (Python) "hasAllowedTypes" bind container=container bind context=context bind namespace= bind script=script bind subpath=traverse_subpath parameters= title=Return a list of the content types allowed here filtered by getNotAddableTypes.
tuple types = context.sortObjects( context.allowedContentTypes() )

Variable Documentation

tuple getAllowedTypes.filterOut = context.getNotAddableTypes()

Script (Python) "hasAllowedTypes" bind container=container bind context=context bind namespace= bind script=script bind subpath=traverse_subpath parameters= title=Return a list of the content types allowed here filtered by getNotAddableTypes.

Definition at line 10 of file getAllowedTypes.py.

tuple getAllowedTypes.types = context.sortObjects( context.allowedContentTypes() )

Definition at line 11 of file getAllowedTypes.py.