/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

  1. <?php
  2. $data = array('users' => array(
  3. array(
  4. 'name' => 'foo',
  5. 'age' => 22,
  6. 'foo' => 2,
  7. ),
  8. array(
  9. 'name' => 'older Foo',
  10. 'age' => 23,
  11. 'foo' => 2
  12. ),
  13. array(
  14. 'name' => 'older Bar',
  15. 'age' => 23,
  16. 'foo' => 2
  17. ),
  18. array(
  19. 'name' => 'bar',
  20. 'age' => 22,
  21. 'foo' => 1
  22. ),
  23. ),
  24. 'regroup_field' => 'age',
  25. );