摘要:
原文: http://rndm-snippets.blogspot.com/2010/10/using-urlfor-in-action-symfony.htmlIn an symfony template you can get the base url of the application with:url_for('@homepage', true); Using this code in an action causes:Fatal error: Call to undefined function url_for() in ...In an action this c 阅读全文
posted @ 2011-08-08 18:05
Lux.Y
阅读(470)
评论(0)
推荐(0)
摘要:
原地址: http://www.symfony-project.org/jobeet/1_2/Doctrine/en/05#chapter_05_object_route_class 阅读全文
posted @ 2011-08-08 17:46
Lux.Y
阅读(202)
评论(0)
推荐(0)