Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class FilesStatuse extends base\FilesStatuse |
||
10 | { |
||
11 | const NEW = 'new'; |
||
12 | const RELOAD = 'reload'; |
||
13 | const DELETE = 'delete'; |
||
14 | const LOADED = 'loaded'; |
||
15 | const LOADING = 'loading'; |
||
16 | const DELETING = 'deleting'; |
||
17 | const ERROR = 'error'; |
||
18 | const STOPED = 'stoped'; |
||
19 | const STOP = 'stop'; |
||
20 | protected static $statusesByKeys = []; |
||
21 | public static function find() { |
||
22 | return new \execut\import\models\queries\FilesStatuse(__CLASS__); |
||
23 | } |
||
24 | |||
25 | public static function getIdByKey($key) |
||
32 | } |
||
33 | } |