2013-11-17 17:54:15 +01:00
|
|
|
<?php
|
|
|
|
App::uses('AppModel', 'Model');
|
|
|
|
|
2018-07-19 11:48:22 +02:00
|
|
|
class ThreatLevel extends AppModel
|
|
|
|
{
|
|
|
|
public $validate = array(
|
|
|
|
'name' => array(
|
|
|
|
'valueNotEmpty' => array(
|
|
|
|
'rule' => array('valueNotEmpty'),
|
|
|
|
'required' => true
|
|
|
|
),
|
|
|
|
),
|
|
|
|
'description' => array(
|
|
|
|
'valueNotEmpty' => array(
|
|
|
|
'rule' => array('valueNotEmpty'),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
'form_description' => array(
|
|
|
|
'valueNotEmpty' => array(
|
|
|
|
'rule' => array('valueNotEmpty'),
|
|
|
|
'required' => true
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
2013-11-17 17:54:15 +01:00
|
|
|
}
|