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

def EMarket::MarketItemManager::MarketItemManager::initMarketItemProperties (   self,
  theMarketItem,
  REQUEST = None 
)

setup market item properties....

Definition at line 19 of file MarketItemManager.py.

00019                                                                    :
        """ setup market item properties...."""

        if REQUEST is None:
            REQUEST = {}
            
        theMarketItem.name = REQUEST.get('name','no name')
        theMarketItem.price = REQUEST.get('price',0)
        theMarketItem.available = REQUEST.get('available',1)
        theMarketItem.description = REQUEST.get('description','no description')


    def calcPrice(self, theBasketItem):


Generated by  Doxygen 1.6.0   Back to index