阅读背景:

在Symfony中,如何将呈现的模板内容检索为动作中的变量?

来源:互联网 

I'd like to set a variable in my Symfony action that holds the rendered template data for that action. I'm returning some JSON content with the action, and I'd like to store what the action would be outputting into the JSON and return it.I'd like to set a variable in my Symfony action




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: