public function actionIndex() { $coupons = new Coupon(); $resultType = $coupons->couponType(); $websites = new Website(); $resultStores = $websites->websiteName(); $coupons = new CouponCategories(); $resultCategory = $coupons->storesName(); $coupons = new Coupon(); $resultDetail = $coupons->couponDetail(); return $this->render('index', ['resultType' => $resultType, 'resultStores' => $resultStores, 'resultCategory' => $resultCategory, 'resultDetail' => $resultDetail]); }