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