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 | |
| 3 | class 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 | |
| 16 | // Problem Settings (multi-state: 0=disabled, 1=enabled) |
| 17 | public const ALTERNATIVE_RESPONSE = 4; |
| 18 | public const PASS_MODE = 5; |
| 19 | |
| 20 | // Problem Type Changes (multi-state: 0=delete, 1=add) |
| 21 | public const MULTIPLE_CHOICE = 6; |
| 22 | public const SCORE_ESTIMATING = 7; |
| 23 | |
| 24 | // Requests |
| 25 | public const SOLUTION_REQUEST = 8; |
| 26 | |
| 27 | // Set Metadata Edits |
| 28 | public const SET_TITLE_EDIT = 9; |
| 29 | public const SET_DESCRIPTION_EDIT = 10; |
| 30 | public const SET_COLOR_EDIT = 11; |
| 31 | public const SET_ORDER_EDIT = 12; |
| 32 | public const SET_RATING_EDIT = 13; |
| 33 | |
| 34 | // Set Operations |
| 35 | public const PROBLEM_ADD = 14; |
| 36 | |
| 37 | // Set Bulk Operations (multi-state: 0=disabled, 1=enabled) |
| 38 | public const SET_ALTERNATIVE_RESPONSE = 15; |
| 39 | public const SET_PASS_MODE = 16; |
| 40 | |
| 41 | // Tags |
| 42 | public const ACCEPT_TAG = 23; |
| 43 | public const REJECT_TAG = 24; |
| 44 | |
| 45 | // Tsumego merge |
| 46 | public const TSUMEGO_MERGE = 25; |
| 47 | } |