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
Afficher le fichier Open project: fluidtypo3/vhs

Méthodes publiques

Méthode Description
initializeArguments ( ) : void
render ( ) : mixed

Méthodes protégées

Méthode Description
calculateAction ( mixed $a, $b ) : mixed

Method Details

calculateAction() protected méthode

protected calculateAction ( mixed $a, $b ) : mixed
$a mixed
$b
Résultat mixed

initializeArguments() public méthode

public initializeArguments ( ) : void
Résultat void

render() public méthode

public render ( ) : mixed
Résultat mixed