1: <?php
2:
3: App::uses('AppModel', 'Model');
4:
5: /**
6: * SchedulingTask Model
7: *
8: */
9: class SchedulingShellCallLog extends AppModel {
10:
11: public $actsAs = array(
12: 'Base.ExtendedOperations',
13: );
14:
15: /**
16: * Display field
17: *
18: * @var string
19: */
20: public $displayField = 'shell';
21:
22: /**
23: * Validation rules
24: *
25: * @var array
26: */
27: public $validate = array(
28: 'scheduling' => array(
29: 'notEmpty' => array(
30: 'rule' => array('notEmpty'),
31: ),
32: ),
33: 'shell' => array(
34: 'notEmpty' => array(
35: 'rule' => array('notEmpty'),
36: ),
37: ),
38: );
39:
40: }
41: