Subversion Repositories SmartDukaan

Rev

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

Rev 13579 Rev 13695
Line 28... Line 28...
28
				//'last' => false, // Stop validation after this rule
28
				//'last' => false, // Stop validation after this rule
29
				//'on' => 'create', // Limit validation to 'create' or 'update' operations
29
				//'on' => 'create', // Limit validation to 'create' or 'update' operations
30
			),
30
			),
31
		),
31
		),
32
	);
32
	);
-
 
33
 
-
 
34
	public $belongsTo = array(
-
 
35
		'Category' => array(
-
 
36
			'className' => 'Category',
-
 
37
			'foreignKey' => 'category_id',
-
 
38
			'conditions' => '',
-
 
39
			'fields' => '',
-
 
40
			'order' => ''
-
 
41
		)
-
 
42
	);
33
}
43
}