Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminHttpViewControllers
  • ApiV2Controllers
  • 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
    • Orders
    • Serializers
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Interfaces
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • 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
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

  • CartController
  • CartDropdownController
  • CartShippingCostsController
  • CheckQuantityController
  • CheckStatusController
  • CookieBarController
  • CreateGuestController
  • CreateRegistreeController
  • ExtraContentController
  • FilterController
  • ImageRequestController
  • JsTranslationsController
  • LiveSearchController
  • PayPalConfigurationController
  • PayPalController
  • ProductQuestionController
  • SharedShoppingCartConfigurationController
  • SharedShoppingCartController
  • ShipcloudController
  • StyleEdit3AuthenticationController
  • WishListController

Class CartDropdownController

Class CartDropdownController

HttpViewController implements HttpViewControllerInterface
Extended by CartDropdownController
Package: HttpViewControllers
Category: System
Extends: HttpViewController
Located at Controllers/HttpView/ShopAjax/CartDropdownController.inc.php

Methods summary

public
# __construct( HttpContextReaderInterface $httpContextReader, HttpResponseProcessorInterface $httpResponseProcessor, ContentViewInterface $defaultContentView )

Parameters

$httpContextReader
$httpResponseProcessor
$defaultContentView

Overrides

HttpViewController::__construct
public HttpControllerResponse
# actionDefault( )

Returns

HttpControllerResponse

Todo

get rid of old AjaxHandler
use GET and POST REST-API like

Overrides

HttpViewController::actionDefault
protected float
# _getCartTotal( )

Returns

float
protected mixed|string
# _getCartDropdown( )

Returns

mixed|string
protected
# _getResponseArray( StringType $cartSum, IntType $productsCount, StringType $cartDropdown )

Methods inherited from HttpViewController

_callActionMethod(), _getPostData(), _getPostDataCollection(), _getQueryParameter(), _getQueryParametersCollection(), _render(), _validatePageToken(), proceed()

Properties summary

protected shoppingCart_ORIGIN $shoppingCart
#
protected xtcPrice_ORIGIN $xtcPrice
#
protected integer $customersStatusOtDiscountFlag
#
protected float $customersStatusOtDiscount
#
protected integer $customersStatusShowPriceTax
#
protected integer $customersStatusAddTaxOt
#
protected integer $customersStatusShowPrice
#

Properties inherited from HttpViewController

$assets, $contentView, $httpContextReader, $httpResponseProcessor, $postDataArray, $queryParametersArray

API documentation generated by ApiGen