开发者

Zend framework controller filenames containing "init"?

Zend framework: what is the significance of controller filenames that have "init" in them? I have 3 files that se开发者_运维知识库ems to have exactly the same code, named:

TestController_init.php TestController.init.php TestController.php

?


In my opinion you should have onlu one TestController.php that contains all behaviours that this controller should have (init() method, etc).

Could you pase the content of 2 other files ?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜