Cake 1.2 currently has limited support for 'through', but it is only
functional for MySQL, and it only works for HABTM associations.  There
is no documentation on it, but it goes a little something like this:

class Post extends AppModel {
    var $hasAndBelongsToMany = array("Author" => array("with" =>
"Authorship"));
}

Then, any join table fields will be selected into the Authorship
association.  And it only works for reading, not saving.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to