object.arrayValueByKey

View helper which allows you to access a key in an array.

Examples

Defaults:

<i:object.key array="{array}" key="{key}" />

Output:

The key in the array, if it exists, otherwise an empty string.

Arguments

array

DataType
mixed
Required
true
Description
The array being processed

key

DataType
mixed
Required
true
Description
The key being accessed