PHP Classes

File: Library/vendor/twig/twig/doc/filters/keys.rst

Recommend this page to a friend!
  Classes of Duong Huynh Nghia   Lego PHP   Library/vendor/twig/twig/doc/filters/keys.rst   Download  
File: Library/vendor/twig/twig/doc/filters/keys.rst
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Lego PHP
Blog and shopping cart system
Author: By
Last change:
Date: 7 years ago
Size: 219 bytes
 

Contents

Class file image Download
``keys`` ======== The ``keys`` filter returns the keys of an array. It is useful when you want to iterate over the keys of an array: .. code-block:: jinja {% for key in array|keys %} ... {% endfor %}