Welcome Guest, Not a member yet? Register   Sign In
Can I create another Model beside MY_Model.php?
#3

(05-23-2016, 10:07 PM)salain Wrote: Hi,

MY_Model extend the CI_Model in order to give you some default method and properties that are not available in CI_Model.
And you create your application model like Article_model by extending MY_Model rather than CI_Model
So:
application/core/MY_Model.php extends CI_Model
application/models/Article_model.php extends MY_Model

I hope this helps.

So I understand. Thank you for your help.
Reply


Messages In This Thread
RE: Can I create another Model beside MY_Model.php? - by Phally Seng - 05-25-2016, 08:32 PM



Theme © iAndrew 2016 - Forum software by © MyBB