children:
- root:
- child one
- child two:
- subchild one
- subchild two
- child three
["children"]=>array(1){
["root"]=>array(3){
[0]=>string(9) "child one",
["child two"]=>array(2){
[0]=>string(12) "subchild one"
[1]=>string(12) "subchild two"
}
[1]=>string(11) "child three"
}
}
array(4) {
[0]=>
array(4) {
["root"]=>
array(0) {
}
[0]=>
string(9) "child one"
[1]=>
array(3) {
["child two"]=>
array(0) {
}
[0]=>
string(12) "subchild one"
[1]=>
string(12) "subchild two"
}
[2]=>
string(11) "child three"
}
children:
root:
child one
child two:
subchild one
subchild two
child three
items:
- id: 1
name: ABC
- id: 2
name: CDB
[items] => Array
(
[0] => Array
(
[id] => 1
[name] => ABC
)
[1] => Array
(
[id] => 2
[name] => CDB
)
)