Sorry, I should have mentioned it is also being used.
In my model I overwrite the find() function like so. (Yes I know
beforeFind(), this is just an example)
function find($type = null, $params = array()) {
$params = array_merge_recursive(array('contain' => array('Contact' =>
array('fields' => array('id', 'name')))), $params);
return parent::find($type, $params);
}
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php