Hi,
What is the PHP version of a such twig expression:
{% extends ajax ? MyBundle::layout2.html.php :
MyBundle::layout.html.php %}
I can think of :
?php $view-extend($view['request']-isXmlHttpRequest() ?
MyBundle::layout2.html.php : MyBundle::layout.html.php) ?
but not sure since
It's now working :)
Thanks a lot.
On May 7, 11:42 am, Christophe COEVOET s...@notk.org wrote:
Le 07/05/2011 11:39, abernier a crit :
Hey,
Thanks for the answer.
I tried with:
?php if (!$app-isXmlHttpRequest()): $view-
extend('MyBundle::layout.html.php'); endif
Hi,
As you may know, in order to pass user's information(signed_request)
to your app, Facebook access canvas(ie: iframe) applications by
sending them a POST request. This mechanism is explained here:
http://developers.facebook.com/docs/guides/canvas/#auth
In order to keep ReSTful, what would the