checkSection
boolean public static \Bitrix\Seo\SitemapIblockTable::checkSection( integer $sectionId, array $sectionSettings, boolean $defaultValue );
Method checks, if $sectionId must be added to sitemap file. Static method.
Parameters
Parameter | Description | Version |
---|---|---|
$sectionId | Section ID. | |
$sectionSettings | Array with sitemap section settings. | |
$defaultValue | Default value when settings are unavailable. |
Example
© «Bitrix24», 2001-2024