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

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

Return an icon ID for the given action.

o Raise a KeyError if no icon has been defined for the action.

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

Definition at line 175 of file ActionIconsTool.py.

00175                                                                 :

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

        o Raise a KeyError if no icon has been defined for the action.

        o Context is an Expression context object, used to evaluate
          TALES expressions.
        """
        return self._lookup[ ( category, action_id ) ].getIconURL( context ) 

    security.declareProtected( View, 'queryActionIcon' )
    def queryActionIcon( self, category, action_id


Generated by  Doxygen 1.6.0   Back to index