私はこのような多次元配列を持っています
Array
(
[59] => stdClass Object
(
[id] => 59
[parent_id] => 0
[name] => detalles de los
[order] => 1
)
[60] => stdClass Object
(
[id] => 60
[parent_id] => 0
[name] => Fechas varias
[order] => 2
)
[62] => stdClass Object
(
[id] => 62
[parent_id] => 0
[name] => seccion de fechas dependientes
[order] => 3
)
[63] => stdClass Object
(
[id] => 6
[parent_id] => 0
[name] => tabbbbb
[order] => 5
[children] => Array
(
[61] => stdClass Object
(
[id] => 61
[parent_id] => 63
[name] => Números varios
[order] => 5
)
[70] => stdClass Object
(
[id] => 70
[parent_id] => 63
[name] => tablas22
[order] => 6
[children] => Array
(
[58] => stdClass Object
(
[id] => 58
[parent_id] => 70
[name] => datos demograficos
[order] => 4
)
)
)
)
)
)
エントリ70を削除したい
[70] => stdClass Object
(
[id] => 70
[parent_id] => 63
[name] => tablas22
[order] => 6
しかし、私は子[58]を[61]の子にし、[70]を[61]の子にしたいのです。
どうすればいいですか?設定を解除しようとしましたが、機能していないようです