123456789101112131415161718192021222324252627 |
- <?php
- namespace app\controllers;
- use app\components\Controller;
- use app\components\LoggerDetail;
- use app\models\LogDetail;
- class SubscribeController extends Controller {
- public function actionIndex() {
- $logDetails = LogDetail::find()->asArray()->all();
- foreach ($logDetails as $logDetail) {
- $detail = LoggerDetail::formatChildDetail($logDetail);
- }
- return $this->render('index', [
- 'detail' => $detail,
- ]);
- }
- }
|