Documentation

getByIblock

array public static
\Bitrix\Seo\SitemapIblockTable::getByIblock(
 array $fields,
 string $itemType
);

Method returns array with data for updating sitemap due to specific iblock actions. Static method.

Parameters

ParameterDescriptionVersion
$fieldsIblock element or section fo array fields.
$itemTypeSitemapIblockTable::TYPE_ELEMENT || SitemapIblockTable::TYPE_SECTION.

Exceptions

  • \Bitrix\Main\ArgumentException

Example



© «Bitrix24», 2001-2024
Up