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
파일 보기 프로젝트 열기: fluidtypo3/vhs

공개 메소드들

메소드 설명
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