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 ?
精彩评论