hey
On Sun, May 18, 2008 at 5:08 AM, Chris Anderson <[EMAIL PROTECTED]> wrote:
>
> I have a table laid out for a typical nested comments system (like in
> most blogs, etc):
> comments (id int auto increme
> In the model I have $hasMany = array('Comments') and $belongsTo =
> array('Comments'). I'm doing this because it wouldn't make sense to
> use a join table so $hasAndBelongsToMany is out of the question. When
> it comes time to do a findAllThreaded() on my model I end up with an
> error like:try $hasMany = array(Child => array(className = 'Comment')) and the same with belongsTo 'Parent' -- Marcin Domanski http://kabturek.info --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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?hl=en -~----------~----~----~----~------~----~------~--~---
