@@ -898,8 +898,8 @@ public function isAttributeValid($attrCode, array $attrParams, array $rowData, $
898
898
}
899
899
900
900
/**
901
- *
902
901
* Multiple value separator getter.
902
+ *
903
903
* @return string
904
904
*/
905
905
public function getMultipleValueSeparator ()
@@ -949,6 +949,8 @@ public function getMediaGalleryAttributeId()
949
949
}
950
950
951
951
/**
952
+ * Get product by type name.
953
+ *
952
954
* @param string $name
953
955
* @return Product\Type\AbstractType
954
956
*/
@@ -1189,8 +1191,10 @@ protected function _initErrorTemplates()
1189
1191
}
1190
1192
1191
1193
/**
1192
- * Set valid attribute set and product type to rows with all scopes
1193
- * to ensure that existing products doesn't changed.
1194
+ * Set valid attribute set and product type to rows.
1195
+ *
1196
+ * Set valid attribute set and product type to rows with all
1197
+ * scopes to ensure that existing products doesn't changed.
1194
1198
*
1195
1199
* @param array $rowData
1196
1200
* @return array
@@ -1220,6 +1224,7 @@ protected function _prepareRowForDb(array $rowData)
1220
1224
1221
1225
/**
1222
1226
* Gather and save information about product links.
1227
+ *
1223
1228
* Must be called after ALL products saving done.
1224
1229
*
1225
1230
* @return $this
@@ -1468,6 +1473,7 @@ public function saveProductEntity(array $entityRowsIn, array $entityRowsUp)
1468
1473
1469
1474
/**
1470
1475
* Return additional data, needed to select.
1476
+ *
1471
1477
* @return array
1472
1478
*/
1473
1479
private function getOldSkuFieldsForSelect ()
@@ -1477,6 +1483,7 @@ private function getOldSkuFieldsForSelect()
1477
1483
1478
1484
/**
1479
1485
* Adds newly created products to _oldSku
1486
+ *
1480
1487
* @param array $newProducts
1481
1488
* @return void
1482
1489
*/
@@ -1514,6 +1521,7 @@ private function getNewSkuFieldsForSelect()
1514
1521
1515
1522
/**
1516
1523
* Init media gallery resources
1524
+ *
1517
1525
* @return void
1518
1526
* @since 100.0.4
1519
1527
* @deprecated
@@ -1544,6 +1552,8 @@ protected function getExistingImages($bunch)
1544
1552
}
1545
1553
1546
1554
/**
1555
+ * Retrieve image from row.
1556
+ *
1547
1557
* @param array $rowData
1548
1558
* @return array
1549
1559
*/
@@ -1937,6 +1947,7 @@ protected function _saveProducts()
1937
1947
1938
1948
/**
1939
1949
* Prepare array with image states (visible or hidden from product page)
1950
+ *
1940
1951
* @param array $rowData
1941
1952
* @return array
1942
1953
*/
@@ -1961,6 +1972,8 @@ private function getImagesHiddenStates($rowData)
1961
1972
}
1962
1973
1963
1974
/**
1975
+ * Process row categories.
1976
+ *
1964
1977
* @param array $rowData
1965
1978
* @return array
1966
1979
*/
@@ -1988,6 +2001,8 @@ protected function processRowCategories($rowData)
1988
2001
}
1989
2002
1990
2003
/**
2004
+ * Get product websites.
2005
+ *
1991
2006
* @param string $productSku
1992
2007
* @return array
1993
2008
*/
@@ -1997,6 +2012,8 @@ public function getProductWebsites($productSku)
1997
2012
}
1998
2013
1999
2014
/**
2015
+ * Retrieve product categories.
2016
+ *
2000
2017
* @param string $productSku
2001
2018
* @return array
2002
2019
*/
@@ -2006,6 +2023,8 @@ public function getProductCategories($productSku)
2006
2023
}
2007
2024
2008
2025
/**
2026
+ * Get store id by code.
2027
+ *
2009
2028
* @param string $storeCode
2010
2029
* @return array|int|null|string
2011
2030
*/
@@ -2097,6 +2116,8 @@ protected function _getUploader()
2097
2116
}
2098
2117
2099
2118
/**
2119
+ * Retrieve uploader.
2120
+ *
2100
2121
* @return Uploader
2101
2122
* @throws \Magento\Framework\Exception\LocalizedException
2102
2123
*/
@@ -2107,6 +2128,7 @@ public function getUploader()
2107
2128
2108
2129
/**
2109
2130
* Uploading files into the "catalog/product" media folder.
2131
+ *
2110
2132
* Return a new file name if the same file is already exists.
2111
2133
*
2112
2134
* @param string $fileName
@@ -2301,7 +2323,7 @@ public function getEntityTypeCode()
2301
2323
* Returns array of new products data with SKU as key. All SKU keys are in lowercase for avoiding creation of
2302
2324
* new products with the same SKU in different letter cases.
2303
2325
*
2304
- * @var string $sku
2326
+ * @param string $sku
2305
2327
* @return array
2306
2328
*/
2307
2329
public function getNewSku ($ sku = null )
@@ -2494,6 +2516,8 @@ public function validateRow(array $rowData, $rowNum)
2494
2516
}
2495
2517
2496
2518
/**
2519
+ * Check if need to validate url key.
2520
+ *
2497
2521
* @param array $rowData
2498
2522
* @return bool
2499
2523
*/
@@ -2805,8 +2829,11 @@ protected function getProductUrlSuffix($storeId = null)
2805
2829
}
2806
2830
2807
2831
/**
2832
+ * Get url key.
2833
+ *
2808
2834
* @param array $rowData
2809
2835
* @return string
2836
+ *
2810
2837
* @since 100.0.3
2811
2838
*/
2812
2839
protected function getUrlKey ($ rowData )
@@ -2823,7 +2850,10 @@ protected function getUrlKey($rowData)
2823
2850
}
2824
2851
2825
2852
/**
2853
+ * Retrieve resource.
2854
+ *
2826
2855
* @return Proxy\Product\ResourceModel
2856
+ *
2827
2857
* @since 100.0.3
2828
2858
*/
2829
2859
protected function getResource ()
0 commit comments