Total Complexity | 3 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
20 | class MonitoringController extends Controller |
||
21 | { |
||
22 | public function actionIndex() |
||
26 | } |
||
27 | |||
28 | public function actionAccounts() |
||
29 | { |
||
30 | echo Table::widget([ |
||
31 | 'headers' => [ |
||
32 | 'ID', |
||
33 | 'Username', |
||
34 | 'Proxy ID', |
||
35 | ], |
||
36 | 'rows' => Account::find() |
||
37 | ->select([ |
||
38 | 'id', |
||
39 | 'username', |
||
40 | 'proxy_id', |
||
41 | ]) |
||
42 | ->monitoring() |
||
43 | ->asArray() |
||
44 | ->all(), |
||
45 | ]); |
||
46 | } |
||
47 | |||
48 | public function actionTags() |
||
65 | ]); |
||
66 | } |
||
67 | } |