IsArrayViewHelper extends AbstractViewHelper

ViewHelper

This class is the implementation of a Fluid ViewHelper.

View this class in the TYPO3 ViewHelper reference: <backend:type.isarray>

FinalYes

ViewHelper to check whether the given value is an array.

   <f:if condition="{be:type.isArray(value: myVariable)}">
       <f:then>myVariable is an array</f:then>
       <f:else>myVariable is not an array</f:else>
   </f:if>
Internal

This experimental ViewHelper is not part of TYPO3 Core API and may change or vanish any time.

Table of Contents

Methods

initializeArguments()  : void
render()  : bool

Methods

initializeArguments()

public initializeArguments() : void

render()

public render() : bool
Return values
bool

        
On this page

Search results