Class CartController
Class CartController
- HttpViewController implements HttpViewControllerInterface
-
CartController
Category: System
Extends: HttpViewController
Located at Controllers/HttpView/ShopAjax/CartController.inc.php
Methods summary
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
protected
boolean
|
|
protected
array
|
#
_getCartJson( )
Builds a JSON array that contains the HTML snippets to build the current shopping cart |
protected
array
|
#
_getGiftJson( )
Builds a JSON array that contains the HTML snippets to build the voucher redeem modal |
protected
ShoppingCartContentView
|
|
protected
|
#
_tearDownTemporarySessionData( )
Resets some session data that is set within the build methods of the content views |
protected
array
|
#
_getProducts( OrderDetailsCartContentView $orderDetailsCartContentView )
Gets a JSON array of HTML snippets to build the product listing of the current shopping cart content |
protected
array
|
#
_getContents( ShoppingCartContentView $shoppingCartContentView )
Gets a JSON array of HTML snippets to build the content of the current shopping cart apart from its products. |
protected
array
|
#
_getGiftContents( ShoppingCartContentView $shoppingCartContentView )
Gets a JSON array that contains the HTML snippet for the content of the voucher redeem modal |
protected
mixed|string
|
#
_getTotals( OrderDetailsCartContentView $orderDetailsCartContentView )
Gets the HTML for the totals block |
protected
mixed|string
|
|
protected
mixed|string
|
|
protected
mixed|string
|
#
_getShoppingCartButton( ShoppingCartContentView $shoppingCartContentView )
Gets the HTML for all available checkout buttons |
protected
mixed|string
|
#
_getMessages( ShoppingCartContentView $shoppingCartContentView )
Gets the HTML for all messages/warnings |
protected
mixed|string
|
Methods inherited from HttpViewController
__construct(),
_callActionMethod(),
_getPostData(),
_getPostDataCollection(),
_getQueryParameter(),
_getQueryParametersCollection(),
_render(),
_validatePageToken(),
proceed()
Properties summary
protected
boolean
|
$turboBuyNow
$turboBuyNow |
#
true
|
protected
boolean
|
$showCart
$showCart |
#
false
|
protected
boolean
|
$showDetails
$showDetails |
#
false
|
Properties inherited from HttpViewController
$assets,
$contentView,
$httpContextReader,
$httpResponseProcessor,
$postDataArray,
$queryParametersArray