Version: 7.x.x

Helper References

A helper reference is a reference that points to data created by a helper. For example, when looping through an object using the foreach helper, you can access the value of the current child key by using {{@index}}

Basic syntax


Helper references are always in the scope of its parent helper, unless you use scoping or ids.


After the @, place one ../ for each level of helper you want to go back.



If you specified an id when you created the helper, like this:

{{helper(params) someid}}

Then you can reference that helper like this: {{@someid:helperref}}