2010年2月22日星期一

Re: [fw-mvc] Re: Passing parameters to view scripts

Partials are a little more expensive to use than render() because the view instance must be cloned. With render, it's basically just an include of the view script.

--
Hector


On Mon, Feb 22, 2010 at 4:51 PM, electrotype <electrotype@gmail.com> wrote:

There is something I still don't get!

Why would I want to ever use the "render()" method?

Isn't "render()" exactly like "partial()" but without the possibility to set
parameters?

When would I want to use "render()"?


--
View this message in context: http://n4.nabble.com/Passing-parameters-to-view-scripts-tp1565353p1565378.html
Sent from the Zend MVC mailing list archive at Nabble.com.


没有评论: