DocumentInformation

This is the DocumentInformation 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 DocumentInformation.

Tags
see
DocumentInformation::getViewParameters()

Table of Contents

TYPE_CORRECTIVE_INVOICE  = 'correctiveInvoice'
TYPE_DELIVERY_NOTE  = 'deliveryNote'
TYPE_INVOICE  = 'invoice'
TYPE_ORDER  = 'order'
TYPE_RETURN  = 'return'
TYPE_RMA  = 'rma'
$document  : AbstractDocumentBase|null
$documentType  : string
$showAuthNumber  : bool
$showTransactionId  : bool
__construct() Constructor method for DocumentInformation class.  : mixed
getViewParameters() This method returns all calculated arguments and new parameters for DocumentViewHelper.php  : array<string|int, mixed>
getProperties() Return macro use properties  : array<string|int, mixed>

Constants

Properties

Methods

__construct()

Constructor method for DocumentInformation class.

public __construct(array<string|int, mixed> $arguments) : mixed
Parameters
$arguments : array<string|int, mixed>
Tags
see
DocumentInformation
Return values
mixed

getViewParameters()

This method returns all calculated arguments and new parameters for DocumentViewHelper.php

public getViewParameters() : array<string|int, mixed>
Return values
array<string|int, mixed>

getProperties()

Return macro use properties

protected getProperties() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results