PHP Class FluidTYPO3\Vhs\ViewHelpers\Math\ProductViewHelper

Product (multiplication) of $a and $b. A can be an array and $b a number, in which case each member of $a gets multiplied by $b. If $a is an array and $b is not provided then array_product is used to return a single numeric value. If both $a and $b are arrays, each member of $a is multiplied against the corresponding member in $b compared using index.
Inheritance: extends AbstractMultipleMathViewHelper
Datei anzeigen Open project: fluidtypo3/vhs

Public Methods

Method Description
render ( ) : mixed

Protected Methods

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

Method Details

calculateAction() protected method

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

render() public method

public render ( ) : mixed
return mixed