Welcome Guest, Not a member yet? Register   Sign In
Call model from MY_Controller
#1

Is it OK to call a model from MY_Controller?
This means that all controllers can call this model. Is this OK or am I breaking a "heavy rule" here?
Reply
#2

There are no "heavy rules". CodeIgniter is built to give you shortcuts on your PHP journey, not to enslave you and make you do things a certain way.
Reply
#3

Cheers to that!
Reply




Theme © iAndrew 2016 - Forum software by © MyBB