2009年12月12日星期六

Re: [fw-mvc] Find page depth - Zend_Navigation

The Zend_View_Navigation_HelperAbstract::findActive() method returns an array
in the format array('page'=> $page, 'depth'=>$depth). Every navigation view
helper (including Zend_View_Navigation) extends the HelperAbstract so using
one of them is enough to find this information.

Regards, Jurian
--
Jurian Sluiman
CTO Soflomo V.O.F.
http://soflomo.com

On Friday 11 Dec 2009 17:22:54 Cristian Bichis wrote:
> Hi,
>
> I have a Zend_Navigation_Page and i need to find out the depth within
> the container. In fact easier, i need to find out if is on the 0 level
> of the container.
>
> How i can do this ?
>

没有评论: