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

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

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

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

Definition at line 140 of file ActionIconsTool.py.

                      :

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

        o Raise a KeyError if no icon has been defined for the action.
        """
        ai = self._lookup[ ( category, action_id ) ]
        return ( ai.getTitle()
               , ai.getPriority()
               , ai.getIconURL( context ) 
               )

    security.declareProtected( View, 'queryActionInfo' )
    def queryActionInfo( self


Generated by  Doxygen 1.6.0   Back to index