CakePHP Model hasMany Association


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



Copy this code and paste it in your HTML
  1. var $hasMany = array('Model' => array(
  2. 'className' => 'Model',
  3. 'conditions' => '',
  4. 'order' => '',
  5. 'limit' => '',
  6. 'foreignKey' => '',
  7. 'dependent' => false,
  8. 'exclusive' => false,
  9. 'finderQuery' => '',
  10. 'fields' => '',
  11. 'offset' => '',
  12. 'counterQuery' => ''
  13. ));

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.