Modular HMVC - Libraries on Steroids [Updated x3] |
[eluser]Edemilson Lima[/eluser]
I find your implementation to modules very elegant and follow the CI standard better than any other I have found. But I would like to know what do you have against extending the core. Using $this->modules->load() is in some way better than $this->load->module()? Personally I don't like changes to the core, but I don't see anything bad with extending it. How do you call the functions setup(), add() and edit() in your examples above? Also, there is always necessary to have a contructor or the index() function could be called by default? Code: class Modules Code: class Product extends Controller { Code: class _login extends Modules //as a psuedo-controller |
Welcome Guest, Not a member yet? Register Sign In |