From 576325f4c8fee98c40b7b38ff5fb39281f2fdf1c Mon Sep 17 00:00:00 2001 From: stes Date: Mon, 7 Aug 2017 11:44:25 +0300 Subject: [PATCH] paginator --- controllers/VariantCountController.php | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/controllers/VariantCountController.php b/controllers/VariantCountController.php index 07873d3..9775b84 100644 --- a/controllers/VariantCountController.php +++ b/controllers/VariantCountController.php @@ -197,6 +197,7 @@ } /** + * Select Variants for list * @param string $q * @param int|null $shop_id * @@ -243,7 +244,13 @@ } return $out; } - + + /** + * Show import form action + * @param $shop_id + * + * @return string + */ public function actionImport($shop_id){ return $this->render( @@ -253,6 +260,12 @@ ] ); } + /** + * Upload file action + * @param $shop_id + * + * @return array + */ public function actionUpload($shop_id) { @@ -277,6 +290,10 @@ return $data; } + /** + * insert variants to stock + * @param $shop_id + */ protected function populateImportTable($shop_id) -- libgit2 0.21.4