Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class Quote extends AppModel {
- var $name = 'Quote';
- //The Associations below have been created with all possible keys, those that are not needed can be removed
- var $belongsTo = array(
- 'Users' => array(
- 'className' => 'Users',
- 'foreignKey' => 'users_id',
- 'conditions' => '',
- 'fields' => '',
- 'order' => ''
- ),
- 'Categories' => array(
- 'className' => 'Categories',
- 'foreignKey' => 'categories_id',
- 'conditions' => '',
- 'fields' => '',
- 'order' => ''
- )
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement