Let's say that I use the delete_user () function in the user model, and I want it to use the delete_comment () function in my comment model.
I could directly access the comment tables or load and call another model from my controller, but for my code to be as abstract as possible, I want to have access to one model from another.
Is this possible with CodeIgniter?
source
share