Home  >  Article  >  Backend Development  >  Controllers and method naming within controllers in CI framework

Controllers and method naming within controllers in CI framework

WBOY
WBOYOriginal
2016-07-28 08:29:581669browse
In the CI framework, the name of the controller cannot be the same as the name of the method defined in the class. Otherwise, an error will be reported when running.

The above introduces the naming of controllers and methods in controllers in the CI framework, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn