Disclosure
in package
This is the Disclosure class, a macro class for the basket viewHelper.
The purpose of this class is to encapsulate the logic that calculates the view parameters for the basket's disclosure output.
Tags
Table of Contents
__construct() | Constructor method for Disclosure class. | : mixed |
---|---|---|
getData() | This method returns an array containing the view parameters to output the disclosure. | : array<string|int, mixed> |
Methods
__construct()
Constructor method for Disclosure class.
public
__construct(Output $basketOutput) : mixed
Parameters
- $basketOutput : Output
Tags
Return values
mixed —getData()
This method returns an array containing the view parameters to output the disclosure.
public
getData() : array<string|int, mixed>
The information keys of this array are the following:
- applyRE
- applyTax
- hasDiscounts
- colspan