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

def EMarket::EMarket::EMarket::getValidItemIdsInCategory (   self,
  client = None,
  ns = None,
  category = None 
)

return the set of 'valid' (available) items from the set passed in....

Definition at line 753 of file EMarket.py.

00753                                                                             :
        """ return the set of 'valid' (available) items from the set passed in...."""

        result = []

        for itemID in self.marketFolder.getIdsInCategory(client, ns, category=category ):
            theItem = self.marketFolder.getItem(itemID)
            if theItem and getattr(theItem, 'available', 0):
                result.append(itemID)

        return result


    def getCategories(self, theObjects):


Generated by  Doxygen 1.6.0   Back to index