Documentation

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

ParameterDescriptionVersion
$sectionIdSection ID.
$sectionSettingsArray with sitemap section settings.
$defaultValueDefault value when settings are unavailable.

Example



© «Bitrix24», 2001-2024