You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/CmsSeoComponent.php
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,12 @@ class CmsSeoComponent extends Component implements BootstrapInterface
77
77
* @var string
78
78
*/
79
79
public$activeContentElem = true;
80
+
81
+
/**
82
+
* @var int
83
+
*/
84
+
public$sitemap_min_date;
85
+
80
86
/**
81
87
* @var string
82
88
*/
@@ -147,6 +153,7 @@ public function rules()
147
153
['robotsContent', 'string'],
148
154
['countersContent', 'string'],
149
155
[['contentIds', 'treeTypeIds'], 'safe'],
156
+
['sitemap_min_date', 'integer'],
150
157
]);
151
158
}
152
159
@@ -161,6 +168,7 @@ public function attributeLabels()
161
168
'activeTree' => \Yii::t('skeeks/seo', 'Active flag to tree'),
162
169
'activeContentElem' => \Yii::t('skeeks/seo', 'Active flag to contents element'),
163
170
'contentIds' => \Yii::t('skeeks/cms', 'Elements of content'),
171
+
'sitemap_min_date' => \Yii::t('skeeks/seo', 'Минимальная дата обновления ссылки'),
164
172
'treeTypeIds' => \Yii::t('skeeks/seo', 'Types of tree'),
165
173
]);
166
174
}
@@ -174,6 +182,9 @@ public function attributeHints()
174
182
'robotsContent' => \Yii::t('skeeks/seo', 'This value is added to the automatically generated file robots.txt, in the case where it is not physically created on the server'),
175
183
'contentIds' => \Yii::t('skeeks/seo', 'If nothing is selected, then all'),
176
184
'treeTypeIds' => \Yii::t('skeeks/seo', 'If nothing is selected, then all'),
0 commit comments