i have parent model, it has two hasmany child model,

in the model class, I tried to model this relation by writing two time
in the parent model class

 var $hasMany = array('Childclass1'  =>
                       array('className'             =>
'Childclass1');

 var $hasMany = array('Childclass2'  =>
                       array('className'             =>
'Childclass2');

but it giving me the below error
Cannot redeclare Childclass2::$hasMany


anyone can let me know, how to solve this, thank you



http://www.generics.ws/jpn/レビトラ(塩酸バルデナフィルHCL_)に20_MGについて-p-115.html
http://www.generics.ws/jpn/プロペシア(フィナステライド)-p-4.html
http://www.generics.ws/jpn/バイアグラ(クエン酸シルデナフィル)-p-2.html
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to