I am writing a webapp using CodeIgniter that requires authentication. I created a model which handles all my authentication. However, I can\'t find a way to access this auth
In general, you don't want to create objects inside an object. That's a bad habit, instead, write a clear API and inject a model into your model.
setWhatever($model1); ?>