PHP Class FluidTYPO3\Vhs\ViewHelpers\Math\SubtractViewHelper

Performs subtraction of $a and $b. A can be an array and $b a number, in which case each member of $a gets subtracted $b. If $a is an array and $b is not provided then neg. array_sum is used to return a single numeric value. If both $a and $b are arrays, each member of $a is summed against the corresponding member in $b compared using index.
Inheritance: extends AbstractMultipleMathViewHelper
Datei anzeigen Open project: fluidtypo3/vhs

Public Methods

Method Description
initializeArguments ( ) : void
render ( ) : mixed

Protected Methods

Method Description
calculateAction ( mixed $a, $b ) : mixed

Method Details

calculateAction() protected method

protected calculateAction ( mixed $a, $b ) : mixed
$a mixed
$b
return mixed

initializeArguments() public method

public initializeArguments ( ) : void
return void

render() public method

public render ( ) : mixed
return mixed