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
Parameter | Description | Version |
---|---|---|
$fields | Iblock element or section fo array fields. | |
$itemType | SitemapIblockTable::TYPE_ELEMENT || SitemapIblockTable::TYPE_SECTION. |
Exceptions
- \Bitrix\Main\ArgumentException
Example
© «Bitrix24», 2001-2024