Total Complexity | 3 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
19 | class Log extends ActiveRecord |
||
20 | { |
||
21 | const ACTION_OTHER = 0; |
||
22 | const ACTION_CREATE = 1; |
||
23 | const ACTION_UPDATE = 2; |
||
24 | const ACTION_DELETE = 3; |
||
25 | |||
26 | const ENTITY_UNKNOWN = 0; |
||
27 | const ENTITY_USER = 1; |
||
28 | |||
29 | /** |
||
30 | * @inheritdoc |
||
31 | */ |
||
32 | public static function tableName() |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * @return query\LogQuery |
||
39 | */ |
||
40 | public static function find() |
||
41 | { |
||
42 | return new query\LogQuery(get_called_class()); |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * @inheritdoc |
||
47 | */ |
||
48 | public function rules() |
||
58 | }], |
||
59 | ]; |
||
62 |