Posted By

jesse on 04/04/08


Tagged

php cakephp model association cake


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

Wiederkehr
travisa86
huynguye


CakePHP Model hasMany Association


 / Published in: PHP
 

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

  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. ));

Report this snippet  

You need to login to post a comment.