ViewHelper
in package

This is the ViewHelper base class for all the view helpers.

The purpose of a ViewHelper is to facilitate to Twig the generation of an item's output, among other things. For example, the helper of a product, could returns that product converted to a json under a certain format.

Tags
abstract
see
ViewHelper::getApplicationTaxesIncluded()
see
ViewHelper::mergeArguments()

Table of Contents

$languageSheet  : Language|null
$session  : Session|null
$theme  : Theme|null
__construct()  : mixed
getApplicationTaxesIncluded() This method returns the setting of 'show taxes included'.  : bool
mergeArguments() This method merges macro arguments with macro associated class properties by reference.  : void

Properties

Methods

__construct()

public __construct(Language $languageSheet, Theme $theme, Session|null $session) : mixed
Parameters
$languageSheet : Language
$theme : Theme
$session : Session|null
Return values
mixed

getApplicationTaxesIncluded()

This method returns the setting of 'show taxes included'.

public static getApplicationTaxesIncluded() : bool
Return values
bool

mergeArguments()

This method merges macro arguments with macro associated class properties by reference.

public static mergeArguments(mixed &$classObject[, array<string|int, mixed> $arguments = [] ]) : void
Parameters
$classObject : mixed
$arguments : array<string|int, mixed> = []
Return values
void

Search results