开发者

can i remove the action's script restriction in Zend Framework?

i'm working in a project and i'm using Zend, but there is something i don't like, i n开发者_如何学Ceed to have a phtml file, with the same name of the action, in a folder with the same name of the controler, if i don't, Zend will throw an exception, i would like to choose the location myself, cuz i have to make a bunch of folder in my modules, maybe somthing more simple, but i don't know if it is possible, maybe zend is strict with this.

thanks


If you need an "individual view script" for an Action you can use:

$this->renderScript('path/to/myviewscript.phtml');
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜