Nazdar,
15. 8. 2006, Samuel DeVore napisal:
some examples can be found at
http://cakebaker.wordpress.com/2006/02/22/new-feature-bindmodelunbindmodel/
Sam D
Thanks, it works:
$this-WaypointType-bindModel(array('hasMany' = array('Waypoint'
=array('foreignKey' = 'waypoint_type_id',
In different situations in my application I need use different
conditions in model assocciations and every time i must use bindModel
or there is another way how to do it ?
you could create multiple associations in your models (you can link
the 2 same models using different names as many times