Dynamically Loading a model in Cake PHP...
Posted by Robin in
PHP on 11 2nd, 2009 |
2 Comments
You may need to access a different model in a controller that it actually belongs to. For example you may have to access the model ‘comment ‘ in a controller ‘Post”.
Or you may have to access the rating model inside you video Controller.
Following are three methods for using...