Welcome Guest, Not a member yet? Register   Sign In
Autoload model with a different object name
#21

[eluser]TheFuzzy0ne[/eluser]
I can't either off the top of my head, but one thing that came to my attention, is that there's currently no way to autoload a library/model and pass any parameters to the constructor. I feel we should be able to, and as such, it's only fair that we allow that third parameter to be passed in also (just in case). After all, we can't think of everything.

I have to admit, when I am using someone else's library, I don't like to edit the file, I prefer to extend it if needed. I feel that having the ability to assign it a more meaningful, and perhaps contextual name is always a plus for me - but it's not for everyone.

However, I remind you that my main interest is to allow the passing of parameters through to the constructor.




Theme © iAndrew 2016 - Forum software by © MyBB