I have the next hierarchy array:
Array(
[1005] => Array(
[1000] => Array(
[1101] => ...
[1111] => ...
)
)
)
In my function I send $Id. And my task to return a array by this Id.
For example: getArray(1000)
should return the next array:
Array(
[1101] => ...
[1111] => ...
)
How can I make this? Thanks.