Posted By

jesse on 04/04/08


Tagged

php cakephp model association cake


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

jesse
Wiederkehr
travisa86
huynguye


CakePHP Model hasAndBelongsToMany association


 / Published in: PHP
 

URL: http://manual.cakephp.org/chapter/models

  1. var $hasAndBelongsToMany = array('Model' => array(
  2. 'className' => 'Model',
  3. 'joinTable' => '',
  4. 'foreignKey' => '',
  5. 'associationForeignKey'=> '',
  6. 'conditions' => '',
  7. 'order' => '',
  8. 'limit' => '',
  9. 'unique' => true,
  10. 'finderQuery' => '',
  11. 'deleteQuery' => '',
  12. ));

Report this snippet  

You need to login to post a comment.