Hi James,
You can´t have a recursive relationship with the same name as the
parent class.
Try:
var $hasMany = array('SubPage' =>
array('className' => 'Page',
[ etc. ]
Probably not relavent but I´ll mention it anyway: Be sure to define
var $name = "CapitalizedModelName" if you are using PHP4 (more on that
in the manual).
HTH,
AD7six
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---