Beispiel #1
0
 /**
  *
  * @return Ajde_Shop_Cart
  */
 public function getCart()
 {
     $cart = parent::getCart();
     if (!$cart instanceof Ajde_Shop_Cart) {
         $cartModel = $this->_getCartModel();
         $cartModel->loadByPK($cart);
         $cart = $cartModel;
         parent::setCart($cart);
     }
     return $cart;
 }