Monday, November 30, 2009

Accessing models

so I figured out that I can access a model to save and retrieve data
from components by saying $myvar = new ModelName();

etc.

I have another model that keeps giving me this error.

Fatal error: Class 'StatisticsUser' not found in ...

the problem that I think I'm having is that this is the "join" table
for users and statistics.

how do I write to this table properly thru cake?

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: