Oh, after all I think this was a stupid question. :)
I just had to change the recursive-value to 1. Because of the hasMany
relation the comments are listed in a sub-array. The number of
comments was easy to find, simply use count() on this array.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to