开发者

Zend framework controller filenames containing "init"?

开发者 https://www.devze.com 2022-12-13 21:34 出处:网络
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:

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

精彩评论

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