In the OCPHP sheets (http://www.cakephp.org/files/OCPHP.pdf) there was
an example of the use of the new "With" Associations in a HABTM. So it
must be easy to get values out-of the join-table in CakePHP 1.2
var $hasAndBelongsToMany = array('Tag'=>
array('className'=>'Tag','with'=>'TaggedPost'));
But i still getting errors like: No class found for the TaggedPost
model...
(The HABTM works without with (join-table-name: posts_tags))
Has somebody an example/explanation how it works?
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---