ArrayElementViewHelper extends AbstractViewHelper uses CompileWithRenderStatic
This class is the implementation of a Fluid ViewHelper.
View this class in the TYPO3 ViewHelper reference: <.typo3.cms.beuser.s.arrayelement>
FinalYes
Get a value from an array by given key.
Table of Contents
Methods
- initializeArguments() : void
- renderStatic() : string
- Return array element by key. Accessed values must be scalar (string, int, float or double)
Methods
initializeArguments()
public
initializeArguments() : void
renderStatic()
Return array element by key. Accessed values must be scalar (string, int, float or double)
public
static renderStatic(array{'array': array, 'key': string, 'subKey': string} $arguments, Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) : string
Parameters
- $arguments : array{'array': array, 'key': string, 'subKey': string}
- $renderChildrenClosure : Closure
- $renderingContext : RenderingContextInterface