Home > Backend Development > PHP Tutorial > How to add BaseController to the yaf module? Each one uses its own one?

How to add BaseController to the yaf module? Each one uses its own one?

WBOY
Release: 2016-07-06 13:52:43
Original
1045 people have browsed it

I want to use two basecontrollers in two modules. How should I write them?

Reply content:

I want to use two basecontrollers in two modules. How should I write them?

I don’t understand that you are confused. Can’t you give another BaseController another name? Is there any difficulty in not calling BaseController?

Inheritance issues in a multi-module environment
Regarding the naming of yaf controllers, it is a tangled issue.
PHP yaf framework development extension practice
Chen Jiebin / yaf-ext

I have recently started learning to use yaf. I have also encountered your problem. I believe the links above can also solve your questions.

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template