Subversion Repositories SmartDukaan

Rev

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

Rev 14782 Rev 17349
Line 49... Line 49...
49
				//'last' => false, // Stop validation after this rule
49
				//'last' => false, // Stop validation after this rule
50
				//'on' => 'create', // Limit validation to 'create' or 'update' operations
50
				//'on' => 'create', // Limit validation to 'create' or 'update' operations
51
			),
51
			),
52
		),
52
		),
53
		/*'url' => array(
53
		/*'url' => array(
54
			'isUrl' => array(
54
			'notEmpty' => array(
55
				'rule' => array('url'),
55
				'rule' => array('notEmpty'),
56
				//'message' => 'Your custom message here',
56
				//'message' => 'Your custom message here',
57
				'allowEmpty' => true,
57
				//'allowEmpty' => false,
58
				'required' => false,
58
				//'required' => false,
59
				//'last' => false, // Stop validation after this rule
59
				//'last' => false, // Stop validation after this rule
60
				//'on' => 'create', // Limit validation to 'create' or 'update' operations
60
				//'on' => 'create', // Limit validation to 'create' or 'update' operations
61
			),
61
			),
62
		),*/
62
		),*/
-
 
63
		'smssent' => array(
-
 
64
			'boolean' => array(
-
 
65
				'rule' => array('boolean'),
-
 
66
				//'message' => 'Your custom message here',
-
 
67
				//'allowEmpty' => false,
-
 
68
				'required' => false,
-
 
69
				//'last' => false, // Stop validation after this rule
-
 
70
				//'on' => 'create', // Limit validation to 'create' or 'update' operations
-
 
71
			),
-
 
72
		),
-
 
73
		'smsprocessed' => array(
-
 
74
			'boolean' => array(
-
 
75
				'rule' => array('boolean'),
-
 
76
				//'message' => 'Your custom message here',
-
 
77
				//'allowEmpty' => false,
-
 
78
				'required' => false,
-
 
79
				//'last' => false, // Stop validation after this rule
-
 
80
				//'on' => 'create', // Limit validation to 'create' or 'update' operations
-
 
81
			),
-
 
82
		),
63
	);
83
	);
64
 
84
 
65
	//The Associations below have been created with all possible keys, those that are not needed can be removed
85
	//The Associations below have been created with all possible keys, those that are not needed can be removed
66
 
86
 
67
/**
87
/**