$this->Article->Comment->CommentRank->read()
Jeremy Burns
jeremyburns@me.com
On 26 May 2010, at 18:34, Shaz wrote:
> I have:
>
> Article [hasmany] Comment [hasmany] CommentRank
> CommentRank [belongsto] Comment [belongsto] Article
>
> I try to use (in the articles controller) $this->Article->Comments-
>> CommentsRanks->read() but it results in "Undefined property:
> AppModel::$CommentsRanks"
>
> I am trying to avoid using $uses as the models are related to one
> another; but the binding only goes as far as $this->Article->Comments,
> any advice on why it is not going further? I have tried the different
> recursive levels to no avail.
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
>
> 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
> cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment