Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.51 KB | None | 0 0
  1. <?php
  2. class Quote extends AppModel {
  3.     var $name = 'Quote';
  4.     //The Associations below have been created with all possible keys, those that are not needed can be removed
  5.  
  6.     var $belongsTo = array(
  7.         'Users' => array(
  8.             'className' => 'Users',
  9.             'foreignKey' => 'users_id',
  10.             'conditions' => '',
  11.             'fields' => '',
  12.             'order' => ''
  13.         ),
  14.         'Categories' => array(
  15.             'className' => 'Categories',
  16.             'foreignKey' => 'categories_id',
  17.             'conditions' => '',
  18.             'fields' => '',
  19.             'order' => ''
  20.         )
  21.     );
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement