CakePHP Model hasAndBelongsToMany association


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  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. ));

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.