[eluser]ciGR[/eluser]
[edit]
Yes you have right, I must extend the Loader instead CI_Loader. I see that in the file Controller.php of modular extension package, there is a Loader class which extends the CI_Loader.
When I extend the CI_Loader the Modular extensions's Loader class never used so I had the problem to load models and views which was into module directories.I get this problem because I never see any MY_Loader.php class file into libraries in modular extensions package, I did't imagine that it will be into Controller.php
Now it's all ok!
--------------------------------- old message ----------------------------------------
Thank you!!
Yes I know these functionσ, but help me that you tell me that the files into libraries auto-included.
I know how to include a class, but what exactly I wanted was to have a directory includes/classes/ into which I place my classes. And into Controllers I can write for example,
Code:
class content_admin extends admin_controller {
}
or
class content extends public_controller {
}
without any __autoload function, or include(...) into controller files, I wanted this work transparently.
It's not about a real project, just exercising with CI to customize it, so any other development uses this custom classes and Modular extensions can make his own 3rd party modules, like an api. Just an exercise to understand better the CI.
So thank you for your time and sorry If I am off-topic of the modular extensions.