Logo Search packages:      
Sourcecode: zope-cmfactionicons version File versions

def CMFActionIcons::ActionIconsTool::ActionIconsTool::queryActionIcon (   self,
  category,
  action_id,
  default = None,
  context = None 
)

Return an icon ID for the given action.

o Return 'default' if no icon has been defined for the action.

o Context is an Expression context object, used to evaluate
  TALES expressions.

Definition at line 187 of file ActionIconsTool.py.

                                                     :

        """ Return an icon ID for the given action.

        o Return 'default' if no icon has been defined for the action.

        o Context is an Expression context object, used to evaluate
          TALES expressions.
        """
        ai = self._lookup.get( ( category, action_id ) )
        return ai and ai.getIconURL( context ) or default

    security.declareProtected( View, 'updateActionDicts' )
    def updateActionDicts( self, categorized_actions, context=None ):


Generated by  Doxygen 1.6.0   Back to index