Posting for, someone searched for terms “cakephp what is the difference between app:import model and loadmodel” and “cakephp what is the difference between app:import and loadmodel” and landed on my blog page but unfortunately i could not provide the answer that time, perhaps. I hope it helps future visitors with similar queries. Continue reading
This post has been marked as deprecated.
You can use “loadModel” controller method to load models on the fly. For more information of this method please visit http://api.cakephp.org/class/controller#method-ControllerloadModel. Thank you. Continue reading