10
10
*/
11
11
namespace Magento \Sitemap \Helper ;
12
12
13
+ use Magento \Sitemap \Model \ItemResolver \CategoryConfigReader ;
14
+ use Magento \Sitemap \Model \ItemResolver \CmsPageConfigReader ;
15
+ use Magento \Sitemap \Model \ItemResolver \ProductConfigReader ;
16
+ use Magento \Sitemap \Model \SitemapConfigReader ;
13
17
use Magento \Store \Model \ScopeInterface ;
14
18
19
+ /**
20
+ * @deprecated
21
+ */
15
22
class Data extends \Magento \Framework \App \Helper \AbstractHelper
16
23
{
17
24
/**
@@ -68,6 +75,8 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper
68
75
*
69
76
* @param int $storeId
70
77
* @return int
78
+ * @deprecated
79
+ * @see SitemapConfigReader::getMaximumLinesNumber()
71
80
*/
72
81
public function getMaximumLinesNumber ($ storeId )
73
82
{
@@ -83,6 +92,8 @@ public function getMaximumLinesNumber($storeId)
83
92
*
84
93
* @param int $storeId
85
94
* @return int
95
+ * @deprecated
96
+ * @see SitemapConfigReader::getMaximumFileSize()
86
97
*/
87
98
public function getMaximumFileSize ($ storeId )
88
99
{
@@ -98,6 +109,8 @@ public function getMaximumFileSize($storeId)
98
109
*
99
110
* @param int $storeId
100
111
* @return string
112
+ * @deprecated
113
+ * @see CategoryConfigReader::getChangeFrequency()
101
114
*/
102
115
public function getCategoryChangefreq ($ storeId )
103
116
{
@@ -113,6 +126,8 @@ public function getCategoryChangefreq($storeId)
113
126
*
114
127
* @param int $storeId
115
128
* @return string
129
+ * @deprecated
130
+ * @see ProductConfigReader::getChangeFrequency()
116
131
*/
117
132
public function getProductChangefreq ($ storeId )
118
133
{
@@ -128,6 +143,8 @@ public function getProductChangefreq($storeId)
128
143
*
129
144
* @param int $storeId
130
145
* @return string
146
+ * @deprecated
147
+ * @see CmsPageConfigReader::getChangeFrequency()
131
148
*/
132
149
public function getPageChangefreq ($ storeId )
133
150
{
@@ -143,6 +160,8 @@ public function getPageChangefreq($storeId)
143
160
*
144
161
* @param int $storeId
145
162
* @return string
163
+ * @deprecated
164
+ * @see CategoryConfigReader::getPriority()
146
165
*/
147
166
public function getCategoryPriority ($ storeId )
148
167
{
@@ -158,6 +177,8 @@ public function getCategoryPriority($storeId)
158
177
*
159
178
* @param int $storeId
160
179
* @return string
180
+ * @deprecated
181
+ * @see ProductConfigReader::getPriority()
161
182
*/
162
183
public function getProductPriority ($ storeId )
163
184
{
@@ -173,6 +194,8 @@ public function getProductPriority($storeId)
173
194
*
174
195
* @param int $storeId
175
196
* @return string
197
+ * @deprecated
198
+ * @see CmsPageConfigReader::getPriority()
176
199
*/
177
200
public function getPagePriority ($ storeId )
178
201
{
@@ -188,6 +211,8 @@ public function getPagePriority($storeId)
188
211
*
189
212
* @param int $storeId
190
213
* @return int
214
+ * @deprecated
215
+ * @see SitemapConfigReader::getEnableSubmissionRobots()
191
216
*/
192
217
public function getEnableSubmissionRobots ($ storeId )
193
218
{
@@ -203,6 +228,8 @@ public function getEnableSubmissionRobots($storeId)
203
228
*
204
229
* @param int $storeId
205
230
* @return string
231
+ * @deprecated
232
+ * @see SitemapConfigReader::getProductImageIncludePolicy()
206
233
*/
207
234
public function getProductImageIncludePolicy ($ storeId )
208
235
{
@@ -217,6 +244,8 @@ public function getProductImageIncludePolicy($storeId)
217
244
* Get list valid paths for generate a sitemap XML file
218
245
*
219
246
* @return string[]
247
+ * @deprecated
248
+ * @see SitemapConfigReader::getValidPaths()
220
249
*/
221
250
public function getValidPaths ()
222
251
{
0 commit comments