| Total Complexity | 3 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | class MonitoringController extends Controller |
||
| 17 | { |
||
| 18 | public function actionIndex() |
||
| 22 | } |
||
| 23 | |||
| 24 | public function actionAccounts() |
||
| 25 | { |
||
| 26 | echo Table::widget([ |
||
| 27 | 'headers' => [ |
||
| 28 | 'ID', |
||
| 29 | 'Username', |
||
| 30 | ], |
||
| 31 | 'rows' => Account::find() |
||
| 32 | ->select([ |
||
| 33 | 'id', |
||
| 34 | 'username', |
||
| 35 | ]) |
||
| 36 | ->monitoring() |
||
| 37 | ->asArray() |
||
| 38 | ->all(), |
||
| 39 | ]); |
||
| 40 | } |
||
| 41 | |||
| 42 | public function actionTags() |
||
| 57 | ]); |
||
| 58 | } |
||
| 59 | } |