2009年3月12日星期四

[fw-mvc] Named Segment and Zend_View

Hello,

I got one small question related to views.

I am rendering multiple segments for same view (using preDispatch or postDispatch).

I got only one problem, i need to "insert" one of segments at a certain point into the view. I am not using Layouts.

But i need something similar with Layout key:

..................

<div>
    <?=$this->layout()->mykey?>
</div>
.................

How i could get my named segment rendered to that position if using Views ? I can do of course through my own view helper. There is any other (default) way ?

--  Best regards, Cristian Bichis www.zftutorials.com | www.zfforums.com | www.zftalk.com | www.zflinks.com

没有评论: