P
P
psfpro2013-11-29 11:05:36
Zend Framework
psfpro, 2013-11-29 11:05:36

How to get navigation as a multidimensional array in ZF2?

How to get navigation as a multidimensional array in ZF2.
Now I'm making $this->navigation('navigation')->render()and getting a ready-made menu, but how to get the same thing in the form of a multidimensional array.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
yvm, 2014-07-15
@psfpro

$this->navigation('navigation')->toArray();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question