PHP Classes

File: tests/assert_templates/regroup.php

Recommend this page to a friend!
  Classes of Cesar D. Rodas  >  Haanga  >  tests/assert_templates/regroup.php  >  Download  
File: tests/assert_templates/regroup.php
Role: Auxiliary data
Content type: text/plain
Description: Testing file
Class: Haanga
Template engine to process Django style templates
Author: By
Last change: Update of tests/assert_templates/regroup.php
Date: 3 years ago
Size: 402 bytes
 

Contents

Class file image Download
<?php

$data = array('users' => array(
    array(
        'name' => 'foo',
        'age' => 22,
    ),
    array(
        'name' => 'Middle',
        'age' => 22,
    ),
    array(
        'name' => 'older Foo',
        'age' => 23,
    ),
    array(
        'name' => 'older Bar',
        'age' => 23,
    ),
    array(
        'name' => 'bar',
        'age' => 22,
    ),
), 'regroup_by' => 'name');
For more information send a message to info at phpclasses dot org.