Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
AdminActivityType
n/a
0 / 0
n/a
0 / 0
0
n/a
0 / 0
1<?php
2
3class AdminActivityType extends AppModel
4{
5    public $useTable = 'admin_activity_type';
6
7    // Problem Edits
8    public const DESCRIPTION_EDIT = 1;
9    public const HINT_EDIT = 2;
10    public const PROBLEM_DELETE = 3;
11    public const AUTHOR_EDIT = 19;
12    public const RATING_EDIT = 20;
13    public const MINIMUM_RATING_EDIT = 21;
14    public const MAXIMUM_RATING_EDIT = 22;
15    public const SGF_EDIT = 27;
16
17    // Problem Settings (multi-state: 0=disabled, 1=enabled)
18    public const ALTERNATIVE_RESPONSE = 4;
19    public const PASS_MODE = 5;
20
21    // Problem Type Changes (multi-state: 0=delete, 1=add)
22    public const MULTIPLE_CHOICE = 6;
23    public const SCORE_ESTIMATING = 7;
24
25    // Requests
26    public const SOLUTION_REQUEST = 8;
27
28    // Set Metadata Edits
29    public const SET_TITLE_EDIT = 9;
30    public const SET_DESCRIPTION_EDIT = 10;
31    public const SET_COLOR_EDIT = 11;
32    public const SET_ORDER_EDIT = 12;
33    public const SET_RATING_EDIT = 13;
34
35    // Set Operations
36    public const PROBLEM_ADD = 14;
37
38    // Set Bulk Operations (multi-state: 0=disabled, 1=enabled)
39    public const SET_ALTERNATIVE_RESPONSE = 15;
40    public const SET_PASS_MODE = 16;
41
42    // Tags
43    public const ACCEPT_TAG = 23;
44    public const REJECT_TAG = 24;
45    public const ADD_TAG = 28; // An admin adds a tag to a problem. It doesn't need to be accepted.
46
47    // Proposals
48    public const ACCEPT_PROPOSAL = 29;
49    public const REJECT_PROPOSAL = 30;
50
51    // Tsumego merge
52    public const TSUMEGO_MERGE = 25;
53
54    // Delete user
55    public const DELETE_USER = 26;
56}