/ Published in: PHP
This code within your CakePHP Controller to include a Model.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$this->loadModel('FoosFum'); $this->FoosFum =& new FoosFum();
URL: http://sliceofcake.wordpress.com/2007/09/20/loadmodel/