Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
16916 anikendra 1
<?php
2
App::uses('AppModel', 'Model');
3
/**
4
 * Appaclrevision Model
5
 *
6
 */
7
class Appaclrevision extends AppModel {
8
 
9
/**
10
 * Validation rules
11
 *
12
 * @var array
13
 */
14
	public $validate = array(
15
		'user_id' => array(
16
			'numeric' => array(
17
				'rule' => array('numeric'),
18
				//'message' => 'Your custom message here',
19
				//'allowEmpty' => false,
20
				//'required' => false,
21
				//'last' => false, // Stop validation after this rule
22
				//'on' => 'create', // Limit validation to 'create' or 'update' operations
23
			),
24
		),
25
	);
26
}