Subversion Repositories SmartDukaan

Rev

Rev 13532 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13532 Rev 13558
Line 1... Line 1...
1
<?php
1
<?php
2
App::uses('AppModel', 'Model');
2
App::uses('AppModel', 'Model');
3
/**
3
/**
4
 * Click Model
4
 * Click Model
5
 *
5
 *
6
 * @property User $User
-
 
7
 * @property StoreProduct $StoreProduct
-
 
8
 */
6
 */
9
class Click extends AppModel {
7
class Click extends AppModel {
10
 
8
 
11
 
-
 
12
	//The Associations below have been created with all possible keys, those that are not needed can be removed
-
 
13
 
-
 
14
/**
-
 
15
 * belongsTo associations
-
 
16
 *
-
 
17
 * @var array
-
 
18
 */
-
 
19
	public $belongsTo = array(
-
 
20
		'User' => array(
-
 
21
			'className' => 'User',
-
 
22
			'foreignKey' => 'user_id',
-
 
23
			'conditions' => '',
-
 
24
			'fields' => '',
-
 
25
			'order' => ''
-
 
26
		),
-
 
27
		'StoreProduct' => array(
-
 
28
			'className' => 'StoreProduct',
-
 
29
			'foreignKey' => 'store_product_id',
-
 
30
			'conditions' => '',
-
 
31
			'fields' => '',
-
 
32
			'order' => ''
-
 
33
		)
-
 
34
	);
-
 
35
}
9
}