/tests/assert_templates/ifchanged.php
http://github.com/crodas/Haanga · PHP · 26 lines · 25 code · 1 blank · 0 comment · 0 complexity · c7651de6015be32201bd78977141aac2 MD5 · raw file
- <?php
- $data = array('users' => array(
- array(
- 'name' => 'foo',
- 'age' => 22,
- 'foo' => 2,
- ),
- array(
- 'name' => 'older Foo',
- 'age' => 23,
- 'foo' => 2
- ),
- array(
- 'name' => 'older Bar',
- 'age' => 23,
- 'foo' => 2
- ),
- array(
- 'name' => 'bar',
- 'age' => 22,
- 'foo' => 1
- ),
- ),
- 'regroup_field' => 'age',
- );