Say I am in the delete_user() function in the user model, and I want it to use the delete_comment() function in my comment model.
I could access the comment tables directly, or load and call the other model from my controller, but to keep my code as abstract as possible I want to be able to access one model from within another.
Is this possible with CodeIgniter?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…