Disclosure

This is the Disclosure class, a macro class for the document viewHelper.

The purpose of this class is to encapsulate the logic that calculates the view parameters for the document's disclosure output.

Tags
see
Disclosure::getData()

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 $documentOutput) : mixed
Parameters
$documentOutput : Output
Tags
see
Disclosure
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
Return values
array<string|int, mixed>

Search results