Documentation · ViewHelper reference

XSD schema file | vhs master

Iterator / KeysViewHelper

Gets keys from an iterator. /

  • Tag usage example

    <v:iterator.keys subject="[mixed]" as="NULL">
    	<!-- tag content - may be ignored! -->
  • Inline usage example

    {v:iterator.keys(subject: [mixed], as: 'NULL')}


Argument Description Type

Template variable name to assign; if not specified the ViewHelper returns the variable instead.


Input to work on - Array/Traversable/...

Required attribute

Revision history

commit ebabd3bf3f3b1318227073e6227f75397025188e
Author: Stefan Neufeind <*****>
Date:   Sun Jun 15 12:05:20 2014 +0200

    [FEATURE] Add iterator.keys ViewHelper
    This mimics the iterator.values VH.

commit 1da952fbd6b36e213dc61c7e784cd87cf8e2841a
Author: Claus Due <*****>
Date:   Tue Oct 14 19:43:50 2014 +0200

    [DOC] Copyright block comment adjustment

commit 8bb2fc5ee124ba19b0a0ab8e061c9a153fc4651f
Author: Xaver Maierhofer <*****>
Date:   Sun Jan 18 17:56:13 2015 +0100

    [TASK] Reference Copyright to file