Back to index

plone3  3.1.7
keyFilteredActions.py
Go to the documentation of this file.
00001 ## Script (Python) "keyFilteredActions"
00002 ##bind container=container
00003 ##bind context=context
00004 ##bind namespace=
00005 ##bind script=script
00006 ##bind subpath=traverse_subpath
00007 ##parameters=actions=None
00008 ##title=
00009 ##
00010 
00011 #If action does not have an ID it will not
00012 #show up in the keyedActions.
00013 
00014 context.plone_log("The keyFilteredActions script is deprecated and will be "
00015                   "removed in Plone 4.0.  Use the keyFilteredActions method "
00016                   "of the @@plone view instead.")
00017 
00018 return context.restrictedTraverse('@@plone').keyFilteredActions(actions)