I think ideas was for this to server as kind of a shortcut.
I also don't agree this is very good practice, and if done I guess
should use good naming convention so it's clear that view is making use
of such direct calls.
Regards,
alessandro cinelli wrote:
hi,
as written in the doc:
42.4.1.1 <http://42.4.1.1>. Action View Helper
" The |Action| view helper enables view scripts to dispatch a given
controller action; the result of the response object following the
dispatch is then returned. These can be used when a particular action
could generate re-usable content or "widget-ized" content."
i'm curious to know why i have to do this in the View and not in the
Controller.
Would'nt be more logic to call the other action within the "caller"
action and then assign the values to the View?
is there a particular "design" reason or am i missing something?
I don't want to start a flame, i'm just interested do understand the
Zend Framework design.
thanks
cirpo