I have to use method of a controllers created in codeigniter path:
In my controller(application/controllers/examplecontroller.php) i have to load modules controller that call modules models and modules views.
It is possible in codeigniter???
EDIT:
I have my controller in application/controllers/hello.php.
Here i have to load a modules that have a controller called for example news.php in folder modules/controllers. This news controller, call a model in modules/news_model.php that load news from my DB. Then, in the controller i have to call a view in modules/views allnews.php that show my news!!
In codeigniter controllers, models and views are in application path! I have to load cotnrollers, models and views in another folder then codeigniter/application path!
是的,您可以执行此操作,但是它在应用程序文件夹中以及它的HMVC Codeigniter资产基本上用于javascript,图像或其他文件或css文件
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.