1. children:
  2. - root:
  3. - child one
  4. - child two:
  5. - subchild one
  6. - subchild two
  7. - child three
  8.  
  9. ["children"]=>array(1){
  10. ["root"]=>array(3){
  11. [0]=>string(9) "child one",
  12. ["child two"]=>array(2){
  13. [0]=>string(12) "subchild one"
  14. [1]=>string(12) "subchild two"
  15. }
  16. [1]=>string(11) "child three"
  17. }
  18. }
  19.  
  20. array(4) {
  21. [0]=>
  22. array(4) {
  23. ["root"]=>
  24. array(0) {
  25. }
  26. [0]=>
  27. string(9) "child one"
  28. [1]=>
  29. array(3) {
  30. ["child two"]=>
  31. array(0) {
  32. }
  33. [0]=>
  34. string(12) "subchild one"
  35. [1]=>
  36. string(12) "subchild two"
  37. }
  38. [2]=>
  39. string(11) "child three"
  40. }
  41.  
  42. children:
  43. root:
  44. child one
  45. child two:
  46. subchild one
  47. subchild two
  48. child three
  49.  
  50. items:
  51. - id: 1
  52. name: ABC
  53.  
  54. - id: 2
  55. name: CDB
  56.  
  57. [items] => Array
  58. (
  59. [0] => Array
  60. (
  61. [id] => 1
  62. [name] => ABC
  63. )
  64.  
  65. [1] => Array
  66. (
  67. [id] => 2
  68. [name] => CDB
  69. )
  70.  
  71. )