Welcome Guest, Not a member yet? Register   Sign In
Difference between Library classes and Model Classes?
#2

[eluser]tonanbarbarian[/eluser]
model classes extend the CI Model class and can therefore access parts of the controller and inherit some of theproperties of the controller

library classes do not generally extend anything so are standalone classes and cannot natively access the controller or any other part of CI. You can however code them to be able to grab an instance of the controller if needed.


Messages In This Thread
Difference between Library classes and Model Classes? - by El Forum - 11-09-2010, 02:07 PM
Difference between Library classes and Model Classes? - by El Forum - 11-09-2010, 02:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB