## Script (Python) "getMyItems"
##bind container=container
##bind context=context
##bind namespace=
##bind script=script
##bind subpath=traverse_subpath
##parameters=uname
##title=
##
metatypesfilter = context.getSearchableContentTypes()

if metatypesfilter:
  lazymap = context.portal_catalog(Creator=uname, Type=metatypesfilter)
else:
  lazymap = context.portal_catalog(Creator=uname)
  
return lazymap
