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

Performs average across an array. If $a is an array and $b is an array, each member of $a is averaged against the same member in $b. If $a is an array and $b is a number, each member of $a is averaged agained $b. If $a is an array this array is averaged to one number. If $a is a number and $b is not provided or NULL, $a is gracefully returned as an average value of itself.
Наследование: 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