le hice un print_r a $array y su estructura es esta:
Código HTML:
Ver originalArray
(
[0] => Array
(
[label] => Gestion
[uri] =>
[pages] => Array
(
[0] => Array
(
[label] => Registro
[uri] =>
[pages] => Array
(
[0] => Array
(
[label] => Documento
[uri] =>
)
[1] => Array
(
[label] => Plantilla
[uri] =>
)
)
)
[1] => Array
(
[label] => Bandejas
[uri] =>
[pages] => Array
(
[0] => Array
(
[label] => Entrada
[uri] =>
)
[1] => Array
(
[label] => Pendientes
[uri] =>
)
[2] => Array
(
[label] => Salida
[uri] =>
)
)
)
[2] => Array
(
[label] => Seguimiento
[uri] =>
)
[3] => Array
(
[label] => VUC
[uri] =>
)
)
)
[1] => Array
(
[label] => Herramientas
[uri] =>
[pages] => Array
(
[0] => Array
(
[label] => Perfil
[uri] =>
)
[1] => Array
(
[label] => Usuario
[uri] =>
[pages] => Array
(
[0] => Array
(
[label] => Contraseña
[uri] =>
)
[1] => Array
(
[label] => Avisos de Correo
[uri] =>
)
)
)
[2] => Array
(
[label] => Configuración
[uri] =>
[pages] => Array
(
[0] => Array
(
[label] => Estructura Orgánica
[uri] =>
)
)
)
)
)
[2] => Array
(
[label] => Reportes
[uri] =>
)
)