Hello,

Zend_View_Helper_Navigation_Breadcrumbs pass active page
as model to the partial. You can set necessary options
directly on page to access them later in partial. For
example:

$page->articleObject = $article;

Or long-hand syntax:

$page->set('articleObject', $article);


2010/2/8 dbenjamin <[email protected]>:
>
>
> Hi,
>
> It seems to be impossible to pass vars to a zend navigation breadcrumbs
> partial like any other regular partial.
> I need that to display some details on the breadcrumbs like the resource
> name the user is editing for example.
>
> Let assume that an user is editing an article, i need to pass my article
> object (or array) to the breadcrumbs partial to show the article title
> attribute into the "htmlified" page, and also to add params to the url.
>
> Any idea, or a better solution ?
>
> Hope my english is good enough :)
>
> Thanks.
>
> BR,
> Benjamin.
> --
> View this message in context: 
> http://n4.nabble.com/1-9-6-Passing-vars-to-breadcrumbs-partial-tp1473451p1473451.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>



-- 
Sincerely yours,
Aleksey V. Zapparov A.K.A. ixti
FSF Member #7118
Mobile Phone: +34 617 179 344
Homepage: http://www.ixti.ru
JID: [email protected]

*Origin: Happy Hacking!

Reply via email to