I already tried that Lukas, but I can only use getPresentation(), not
getPresentationFor(). Any ideas?

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of Lukas Kahwe Smith
Sent: Monday, January 08, 2007 11:09 PM
To: [email protected]
Subject: [symfony-devs] Re: Is there a way to call getPresentationFor()
directly?


Ian wrote:
> 
> I need to do it from outside an action, so how would I do this from
> sfContext?

<?php $currentAction =
$sf_context->getController()->getActionStack()->getLastEntry() ?>

regards,
Lukas



--~--~---------~--~----~------------~-------~--~----~
 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to