PHP Класс FluidTYPO3\Vhs\ViewHelpers\Math\SumViewHelper

Performs sum of $a and $b. A can be an array and $b a number, in which case each member of $a gets summed with $b. If $a is an array and $b is not provided then 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.
Наследование: extends AbstractMultipleMathViewHelper
Показать файл Открыть проект

Открытые методы

Метод Описание
initializeArguments ( ) : void
render ( ) : mixed

Защищенные методы

Метод Описание
calculateAction ( mixed $a, $b ) : mixed

Описание методов

calculateAction() защищенный Метод

protected calculateAction ( mixed $a, $b ) : mixed
$a mixed
$b
Результат mixed

initializeArguments() публичный Метод

public initializeArguments ( ) : void
Результат void

render() публичный Метод

public render ( ) : mixed
Результат mixed