The old way is still supported.
Fabien
--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.com | aide-de-camp.org
Tél: +33 1 40 99 80 80
Francois Zaninotto wrote:
> Devs,
>
> After reading changeset 11783, and seing sfLoader deprecated, I'm
> worried about the lack of easy way to deal with partials and
> components in the action.
>
> The need for partials in the actions is regular (in Ajax actions,
> email actions, etc). As of now, this was done by using the partial
> helpers in the following way:
>
> sfLoader::loadHelpers('Partial');
> use_partial('foo/bar');
>
> But in sf 1.2, devs will have to write:
>
> $this->getContext()->getConfiguration()->loadHelpers('Partial');
> use_partial('foo/bar');
>
> It's a lot more verbose, and probably a good occasion to look for a
> new way to handle partials and components outside of templates. I'm
> not a big fan of global functions, so an alternative to helpers would
> probably do the job.
>
> Thoughts?
>
> François
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---