Yii Framework Forum: EShoppingCart - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

EShoppingCart Rate Topic: -----

#1 User is offline   jnosul 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 16
  • Joined: 07-July 10

Posted 20 July 2010 - 02:51 PM

Hi, I have a question about EShoppingCart out of yii extension toolbox. It works cool, but Id love to have two instantions of this object within the session, one for the cart, and one for the whishlist. Is it possible?
Cheers
0

#2 User is offline   jnosul 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 16
  • Joined: 07-July 10

Posted 21 July 2010 - 10:38 AM

eeh, I solved it in a lame way probably. maby someone will use it. we can pass the key parameter to the init method. than we can use this parameter istead of __CLASS__ variable during saving and reading from session( in restoreFromSession and saveState methods...
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users