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

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?

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.

Cheers to that!

Theme © iAndrew 2016 - Forum software by © MyBB