Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminHttpViewControllers
  • ApiV2Controllers
  • Authentication
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Strategies
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Storages
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Extensions
    • Customers
    • Emails
    • Helpers
    • Invoices
    • Orders
    • Serializers
    • Templates
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Precheck
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • ClassFinder
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • SharedShoppingCart
    • Interfaces
  • Slider
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

  • SharedShoppingCartDeleter
  • SharedShoppingCartReader
  • SharedShoppingCartRepository
  • SharedShoppingCartService
  • SharedShoppingCartSettings
  • SharedShoppingCartWriter

Class SharedShoppingCartWriter

Class SharedShoppingCartWriter

SharedShoppingCartWriter implements SharedShoppingCartWriterInterface
Package: SharedShoppingCart
Category: System
Located at Services/Core/ShoppingCart/SharedShoppingCartWriter.inc.php

Methods summary

public
# __construct( CI_DB_query_builder $db )

SharedShoppingCartWriter constructor.

SharedShoppingCartWriter constructor.

Parameters

$db
public
# storeShoppingCart( StringType $shoppingCartHash, StringType $jsonShoppingCart, IdType $userId = null )

Stores a shopping cart.

Stores a shopping cart.

Parameters

$shoppingCartHash
Hash of the shopping cart
$jsonShoppingCart
JSON representation of the shopping cart
$userId
Id of the user sharing the shopping cart

Returns


$this|SharedShoppingCartWriter Same instance for chained method calls.

Implementation of

SharedShoppingCartWriterInterface::storeShoppingCart()

Properties summary

protected CI_DB_query_builder $db
#
API documentation generated by ApiGen