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

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

Return a tuple, '(title, priority, icon ID), for the given action.

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

Definition at line 157 of file ActionIconsTool.py.

                        :

        """ Return a tuple, '(title, priority, icon ID), for the given action.

        o Return 'default' if no icon has been defined for the action.
        """
        ai = self._lookup.get( ( category, action_id ) )
        return ai and ( ai.getTitle()
                      , ai.getPriority()
                      , ai.getIconURL( context ) 
                      ) or default

    security.declareProtected( View, 'getActionIcon' )
    def getActionIcon( self, category, action_id, context=None ):


Generated by  Doxygen 1.6.0   Back to index